Skip to main content
POST
/
sessions
/
user
/
revoke
Revoke user sessions
curl --request POST \
  --url https://api.authsignal.com/v1/sessions/user/revoke \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userId": "4a0acccf-ed27-463c-9357-0eafa3722ef1"
}
'
{
  "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
userId
string
required

The ID of the user.

Response

The user's sessions were successfully revoked.