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..."
}
'
This response does not have an example.

Authorizations

Authorization
string
header
required

Use your Authsignal 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.