Details of the request:
- URI: api/v8.1/user/logout
- Type: POST
-
Required headings:
- Content-Type: application/json
- Authorization: TOKEN
Parameters:
It is only required to make a request by sending the authentication token as a header.
Body of the petition:
Empty.
Answer:
There is no response body, the validation of the result of the operation can be performed by analyzing the http code obtained: 200 OK for a successful operation.
Error messages:
Code | HTTP status | Error Message |
---|---|---|
401 | Unauthorized | InvalidToken |
500 | InternalServerError | FailureCloseSession |