Skip to content

Revoke a token

POST/oauth/revoke

US Region: https://public-api.sessionboard.com · EU Region: https://public-api-eu.sessionboard.com

Revoke an access or refresh token. Conforms to RFC 7009. Always returns 200 regardless of whether the token was found.

Request example

Terminal window
curl --request POST \
--url 'https://public-api.sessionboard.com/oauth/revoke' \
--header 'Content-Type: application/json' \
--data '{
"token": "<string>",
"token_type_hint": "access_token"
}'

Try it

Body application/json
POST

Request body

application/jsonrequired

  • tokenstringrequired
  • token_type_hintstring
    Allowed values
    "access_token", "refresh_token"
{
"token": "<string>",
"token_type_hint": "access_token"
}

Responses

200

Token revoked (or was already invalid)

Get release notes by email

A short digest on the days something new goes live — each change with a link to its note in the release notes. No marketing, and one click to stop.

Company email addresses only. We’ll send one email to confirm it’s you. Already use Sessionboard? You can also turn this on under Community → What’s new.