API_002 Player Logout
POST
https://prod.phl8268.com/panel/api/integration/logoutEndpoint for merchant to logout from PHL, system shall remove any authentication session and forbids the client to invoke any other API further.
Envelope
Please encode the following parameters into JSON, then encode them using Base64 and put them into the data field of a generic request/response. Signature: refer to Signature Description.
Request Schema
| Property | Field Type | Mandatory | Description | Sample value |
|---|---|---|---|---|
| username | String | Y | Username used from the platform | JOHNDOE |
Response Schema
| Property | Field Type | Mandatory | Description | Sample value |
|---|---|---|---|---|
| code | String | Y | Logout status code. See System Code – Status | SUCCESS or FAIL |
| description | String | Y | Logout status description. See System Code – Status | Logout Successful or Logout Failed |
Request Sample
{
"username": "JOHNDOE"
}
Response Sample
{
"code": "SUCCESS",
"description": "Logout Successful"
}