Logout
This method will be used to logout player from site. use gateway.[msdomain]
Request (POST)
/gateway/logout/{version}/{brand_id}/player
Parameters:
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| version | path | string | true | The API version to use. |
| brand_id | path | int | true | The ID of the casino. If a brand_id is not provided, all message formats will be fetched from default storage. |
| x-auth-token | header | string | true | Player session to logout. |
Response
Status 200
{
"result": "successful logout"
}Status 303
| Error Code | Description |
|---|---|
| INCOMPLETE_REGISTRATION | The player did not complete his registration process, need to complete Registration Step Two. |
| TNC_APPROVAL_REQUIRED | Player need to approve TnC. |
| PRIVACY_APPROVAL_REQUIRED | Player need to approve Privacy Policy. |
| PASSWORD_CHANGE_REQUIRED | Player has temp password and need to Change Password. |
| EMAIL_NOT_VERIFIED | Player email is not verified and cannot continue any process till he verifies his mail. |
{
"token": "e74af034-a346-4d5c-be97-f7ed83f373a7",
"result": "INCOMPLETE_REGISTRATION",
"actions": [
"responsible_gaming",
"limits",
"deposit_message",
"self_exclusion",
"timeout",
"account_closure",
"swap_limits",
"start_game",
" wallet",
"login"
]
}Status 400
{
"errMsg": "invalid input - invalid brand id"
}Status 500
{
"result": "internal server error"
}