curl --request POST \
--url https://api.sandbox.humanity.org/v2/oauth/revoke \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"tokens": [
"<string>"
],
"token_type_hint": "<unknown>",
"authorization_id": "<string>",
"cascade": "<unknown>",
"client_id": "<string>"
}
'{
"revoked": true,
"revoked_count": 123,
"details": [
{
"subject": "<unknown>",
"status": "<unknown>",
"token_type": "<unknown>",
"authorization_id": "<string>",
"client_id": "<string>",
"user_id": "<string>",
"reason": "<string>"
}
]
}curl --request POST \
--url https://api.sandbox.humanity.org/v2/oauth/revoke \
--header 'Content-Type: application/json' \
--data '
{
"token": "<string>",
"tokens": [
"<string>"
],
"token_type_hint": "<unknown>",
"authorization_id": "<string>",
"cascade": "<unknown>",
"client_id": "<string>"
}
'{
"revoked": true,
"revoked_count": 123,
"details": [
{
"subject": "<unknown>",
"status": "<unknown>",
"token_type": "<unknown>",
"authorization_id": "<string>",
"client_id": "<string>",
"user_id": "<string>",
"reason": "<string>"
}
]
}await sdk.revokeTokens({
token: refreshToken,
tokenTypeHint: 'refresh_token',
});
token or an array of tokens, plus optional hints (authorization, refresh_token, access_token) to speed up resolution.
Revocations cascade through Humanity’s cache, so subsequent /oauth/token refresh attempts fail immediately. Pair this with /auth/logout if you maintain your own tenant-scoped sessions.