Details of the request:
- URI: api/v8.6/user/logout
- Type: POST
-
Required headings: Content-Type: application/json
- Content-Type: application/json
- Authorization: TOKEN
Parameters:
It is only required to make a request by sending the authentication token as an http 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 |
|---|---|---|
| 400 | BadRequest | InvalidToken |
| 500 | InternalServerError | FailureCloseSession |