API Unlink
EndPoint
POST
/api/v1/users/app/destroy
Header Params
Parameters | Requirement | Data type | Description | Note |
---|---|---|---|---|
Content-Type | required | String | Value: application/json |
{
"Content-Type": "application/json"
}
Request Params
Parameters | Requirement | Data type | Description | Note |
---|---|---|---|---|
client_key | required | String | The API KEY provided by AppotaPay | |
access_token | required | String | User Access Token |
Example Request
{
"client_key": "1VXlZjO7vY7BJokQyaGbA5b3C9eT040pEdQq",
"access_token": "R3cIrn81uYHgNLPOeqrFoCtG8UzJ1VXlZjO7vY7"
}
Response Params
{
"code": 200,
"success": true
}
Success
Http Status Code
200
-OK
Parameters | Data type | Description | Note |
---|---|---|---|
code | Integer | Error code | |
success | Boolean |
Thất bại
HTTP Status Code !=
200
Parameters | Data type | Description | Note |
---|---|---|---|
code | Integer | Error code | |
message | String | Description of the error |