Delete Session
Deletes the current active session, effectively logging out the user. Invalidates the authentication token.
Successfully deleted session (logged out)
{
"success": true,
"completed": true,
"time": 1753089693083,
"version": "1.0"
}
success
completed
Unix timestamp in milliseconds
version
Unauthorized - no active session or invalid authorization token
{
"success": false,
"completed": false,
"time": 1753089693083,
"version": "1.0",
"errorCode": "INVALID_SESSION_TOKEN",
"error": "No active session found"
}
Indicates if the operation was successful
Indicates if the operation completed
Unix timestamp in milliseconds
API version
Enum error code for specific errors
Human-readable error message
Internal server error
{
"success": false,
"completed": false,
"time": 1753089693083,
"version": "1.0",
"errorCode": "INTERNAL_SERVER_ERROR",
"error": "Error during logout"
}
Indicates if the operation was successful
Indicates if the operation completed
Unix timestamp in milliseconds
API version
Enum error code for specific errors
Human-readable error message
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/admin/v1/sessions