Requires authorization
Resets all achievements with player id and application id. This method is only accessible to whitelisted tester accounts for the calling application. Try it now.
Request
HTTP request
POST https://www.googleapis.com/games/v1/achievements/reset
Authorization
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
Scope |
---|
https://www.googleapis.com/auth/games |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{ "kind": "games#achievementResetAllResponse", "results": [ { "kind": "games#achievementResetResponse", "definitionId": string, "updateOccurred": boolean, "currentState": string } ] }
Property name | Value | Description | Notes |
---|---|---|---|
kind |
string |
The kind for achievement reset all results. | |
results[] |
list |
The achievement result results. | |
results[].kind |
string |
The kind for achievement reset result. | |
results[].definitionId |
string |
The id of the updated achievement definition when id is not specified at a request. | |
results[].updateOccurred |
boolean |
Flag to indicate if the request update actually occurred. | |
results[].currentState |
string |
The current state of the achievement which should be an initial state of the achievement. Possible values are:
|
Try it!
Use the APIs Explorer below to call this method on live data and see the response.