Skip to main content
POST
/
api
/
v1
/
pub
/
{project_id}
/
auth
/
logout
Logout
curl --request POST \
  --url https://org-api.hexoforge.dev/api/v1/pub/{project_id}/auth/logout \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "refresh_token": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://orchestrator-docs.hexoforge.dev/llms.txt

Use this file to discover all available pages before exploring further.

Revokes a refresh token. Idempotent for invalid tokens. Requires X-API-Key only.

Request body

refresh_token
string
required
Refresh token to revoke.

Response

204 No Content — empty body.

Status codes

CodeMeaning
204Revoked (or token was already invalid)
429Rate limited