Skip to main content
POST
/
sessions
/
revoke
Revoke session
curl --request POST \
  --url https://api.authsignal.com/v1/sessions/revoke \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "accessToken": "eyJhbGciOiJ..."
}
'
{
  "error": "<string>",
  "errorDescription": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.authsignal.com/llms.txt

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

Authorizations

Authorization
string
header
required

Use your Authsignal Server API secret key as the username and leave the password empty. The secret key can be found in the API Keys section of the Authsignal Portal settings page.

Body

application/json
accessToken
string
required

The access token to be revoked.

Response

The session was successfully revoked.