Delete a Token
1. API Description
This API is used to delete the user's Token.
Request mode: POST [ip]/api/user/token-del
Administrator Rights | Logged-in |
---|---|
Yes | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
token | Yes | string | Token |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
code | String | Status description |
4. Example
Deleting the user's Token.
Input Example
{
"token":"HTrkbOUWh3KCl57aYmSLHT3qDyswncF4ynAGJatr8i5laiZZbUT83MnhRJOlghFB"
}
Output Example
{
"status": 0,
"code": "Success"
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
7 | MW_STATUS_INVALID_ARG | Missing required parameters |