Skip to main content
POST
/
oauth2
/
token
/
revoke
Revoke OAuth2 token
curl --request POST \
  --url https://api.fluxer.app/v1/oauth2/token/revoke \
  --header 'Content-Type: multipart/form-data' \
  --form 'token=<string>' \
  --form token_type_hint=access_token \
  --form 'client_id=<string>' \
  --form 'client_secret=<string>'
{
  "code": "ACCESS_DENIED",
  "message": "<string>",
  "errors": [
    {
      "path": "<string>",
      "message": "<string>",
      "code": "<string>"
    }
  ]
}

Body

multipart/form-data
token
string
required

The token to revoke

token_type_hint
enum<string>

A hint about the type of token being revoked

Available options:
access_token,
refresh_token
client_id
string<snowflake>
client_secret
string

The application client secret

Response

No Content