Log out
1. API Description
This API is used to log out and return to the login screen.
Request mode: POST [ip]/api/user/logout
| Administrator Rights | Logged-in |
|---|---|
| No | Yes |
2. Input Parameters
None
3. Output Parameters
| Name | Type | Description |
|---|---|---|
| status | Int | Status code |
| code | String | Status description |
4. Example
Logging out.
Input Example
None
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 |
|---|---|---|
| 37 | MW_STATUS_NOT_LOGGED_IN | Not logged in, Invalid Log-in |