Use the following request components to log out of an existing REST API session:
Header, operation, and URI pattern | Header, operation, and URI pattern example |
---|---|
Header |
Accept: application/json Content-Type: application/json Authorization: <auth_cookie> |
Operation | POST |
URI pattern |
https://1.2.3.4/api/rest/logout |
The server returns a 204 No Content HTTP status code and an empty response body in response to a successful logout.