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 NameDescriptionData TypeRequired
playerIdUnique identifier of the playerStringYes

Query Parameters

Parameter NameDescriptionData TypeRequired
apiKeyAPI key of an brandStringYes

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"
}
Language
Click Try It! to start a request and see the response here!