Skip to main content
Identity & Access/ZIAM

ZiamRevokeToken

Revokes an access token by jti until expiry or revokes a refresh-token family when a refresh token is provided.

POST/api/login/oauth/revoke

Operation ID

ZiamRevokeToken

Since

1.0.0

Execution Mode

Synchronous

Auth Context

OAuth Client Credentials

Auth Context

Authenticate the OAuth application client using HTTP Basic or the client_id/client_secret form fields. client_id is required through either path; a secret is required when configured for that client. Supply the token in the form; an end-user Bearer token does not replace client authentication.

Authorization
Basic {base64_client_credentials}

Request Inputs

application/x-www-form-urlencoded

Form Parameters

  • token
    String

    Access token or refresh token to revoke.

    Example: eyJ...

  • refresh_token
    String

    Refresh token alias when token is omitted.

    Example: eyJ...

  • client_id
    String

    OAuth application client ID. May also be supplied through HTTP Basic authentication.

  • client_secret
    String

    OAuth client secret when required by the configured client. May also be supplied through HTTP Basic authentication.

Responses

200 OK

Token revoked or already inactive.

Content-Type: application/json

The specification does not declare a response body schema.