Skip to content
OperadeDocs

Search documentation

Type to search documentation.

Documentation
Copy page
Open raw Markdown

Log out

Revoke the current dashboard session. The 204 response does not guarantee that a client cookie is cleared.

Endpoint

POST/api/v1/auth/logout

Authentication

Operation classAuthenticationMinimum roleAPI key
dashboard-session-apiNo authentication.noneNot allowed

Parameters

This operation has no path, query, or header parameters.

Request body

This operation has no request body.

Example

cURL
curl --request POST 'https://operade.ai/api/v1/auth/logout'

Responses

StatusDescriptionContent
4XXHandled client errorapplication/json: ErrorResponse
204Successful ResponseNo body

4XX application/json response schema

Field pathTypeReferenceFormatNullableRequiredEnumDescription
$objectErrorResponse—NoYes——
errorobjectErrorItem—NoYes——
error.codestring——NoYes——
error.detailsobject——NoNo——
error.messagestring——NoYes——

Response example

HTTP
HTTP 204
This response has no body.

Errors

Reviewed common and route-declared errors are summarized here; the list is not exhaustive. Start with the distributed error index to find each code's canonical domain page.

StatusCodeDescription
403forbiddenThe X-CX-Request header is required when a dashboard session cookie is present.
On this page
  1. Endpoint
  2. Authentication
  3. Parameters
  4. Request body
  5. Example
  6. Responses
  7. 4XX application/json response schema
  8. Response example
  9. Errors
  10. Related operations