Skip to main content
POST
/
v1
/
auth
/
token
/
revoke
RevokeToken
curl --request POST \
  --url https://sdk.anghami.com/v1/auth/token/revoke \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>",
  "clientId": "<string>"
}
'
{}

Documentation Index

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

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

Body

application/json

RevokeTokenRequest is the request message for revoking an access or refresh token. After revocation, the token can no longer be used for authentication.

token
string
required

The access token or refresh token to revoke.

clientId
string
required

The client application identifier.

Response

Successful response

RevokeTokenResponse is the response message for the revoke operation. An empty response indicates successful revocation.