1Logout
Overview
This API logs out an active REST API session created using a sessionid token.
Method: GET
Request URL: {kyvos-url}/rest/v2/logout
Note: This API is applicable only for sessions created using the Login API (sessionid). Logout is not supported for API Key or Basic Authentication sessions. Such sessions must be reset from the Authorize panel.
Query Parameters
Parameter Name | Type | Description | Possible Values |
|---|---|---|---|
sessionId | String | The session ID returned by the Login API for the session that needs to be logged out. | – |
Responses
200 Success
{
"code": 0,
"message": "Logged out successfully."
}Status Code | Description |
|---|---|
401 | Authorization information is missing or invalid. |
404 | No matching record found. |
412 | Precondition failed. Parameter missing. |
500 | Internal Server Error |