post https://api.stg.game.topplatform.asia/operator/player//unlock
Using this method, an Operator sends a request to Naga Games server to unlock the player.
Request
API URL : {NagaGamesAPIDomain}/operator/player/{playerId}/unlock
HTTP Method : POST
Path Parameters
Parameter Name | Description | Data Type | Required |
---|---|---|---|
playerId | Unique identifier of the player | String | Yes |
Query Parameters
Parameter Name | Description | Data Type | Required |
---|---|---|---|
apiKey | API key of an brand | String | Yes |
Example
curl --request POST \
--url 'https://api.stg.game.topplatform.asia/operator/player/ab3351b1-8b53-40cd-861e-f16834ba701a/unlock?apiKey=2c27819b6c04408d6a051a01971da9781dbadffe1a588b4b351bef144c5caa1e' \
--header 'accept: application/json'
Response
Example
Success Response Example (HTTP status code 201)
{
"message": "Player Unlocked Successfully"
}
Failure Response Examples (HTTP status code 400)
{
"statusCode": 400,
"message": "Player is not found",
"error": "Bad Request"
}
{
"message": "Api Key is invalid"
}
Failure Authentication Example (HTTP status code 401)
{
"statusCode": 401,
"message": "Unauthorized"
}