Achievements: reset

Stay organized with collections Save and categorize content based on your preferences.

Requires authorization

Resets the achievement with the given 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/achievementId/reset

Parameters

Parameter name Value Description
Required parameters
achievementId string The id of the achievement we're resetting.

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#achievementResetResponse",
  "definitionId": string,
  "updateOccurred": boolean,
  "currentState": string
}
Property name Value Description Notes
kind string The kind for achievement reset result.
definitionId string The id of the updated achievement definition when id is not specified at a request.
updateOccurred boolean Flag to indicate if the request update actually occurred.
currentState string The current state of the achievement which should be an initial state of the achievement.
Possible values are:
  • "HIDDEN"- Achievement is hidden.
  • "REVEALED" - Achievement is revealed.
  • "UNLOCKED" - Achievement is unlocked.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.