[POST] Reset Attempts for a Single Player
This guide is for resetting the Attempts for a single player for a Gamification Attempts Scenario created in Flarie Studio.
Please note that this will reset all attempts for a single player to 0.
[POST] https://prod-api.flarie.com/rest/gamification-service/v1/public/player/reset-attempts
Payload
{
"accessKey": "string",
"gamificationId": "string",
"playerIdentifier": "string",
}
Name | Type | Description |
accesskey |
string |
Brand Access Key. You can generate your accessKey in Flarie Studio → Manage Brand Assets |
gamificationId |
string |
The gamificationId of your gamification setup |
playerIdentifier |
string |
The playerIdentifier you would like to reset |
Response Message
Status code |
Message |
200 |
Success |
400 |
Bad Request Your accessKey / gamificationId / playerIdentifier is invalid. |
403 |
Forbidden. Your accessKey is not permitted to access the api |
404 |
playerIdentifier does not exist |
500 |
Internal Server Error. This error will also be thrown if you already have a running operation and trying to start another one. |