Console
Achievements

Revoke Achievement

Remove an achievement unlock from a user. Returns 404 if the user did not have the achievement.

POST /api/achievements/revoke.php
Requires Authorization: AppID:AppKey header

Identify the achievement (one of)

FieldTypeDescription
slugstringAchievement slug
achievement_idintNumeric ID

Identify the user (one of)

FieldTypeDescription
user_idintNumeric user ID
userkeystringUser's userKey
tokenstringUser's session token

Success response 200

{ "success": true }

Errors

CodeMessageCause
401Invalid app credentials.Bad AppID or AppKey
404Achievement not found.Slug/ID doesn't exist for this app
404User does not have this achievement.The user never unlocked it