Revoke an OAuth token

  • Freigeben Version: Australia
  • Aktualisiert 12. März 2026
  • 1 Minute Lesedauer
  • You might want to revoke an OAuth access or refresh token for security reasons.

    Vorbereitungen

    Role required: oauth_admin

    Warum und wann dieser Vorgang ausgeführt wird

    Revoking the token pertains to the situation where your instance acts as the OAuth resource server. You can revoke the token through a URL.

    Prozedur

    Access your instance using oauth_revoke_token.do and append the access or refresh token.

    For example: https://[Your_ServiceNow_Instance]:[port]/oauth_revoke_token.do?token=[access or refresh token] without the brackets [ ].

    Ergebnisse

    This endpoint access does not require authentication. The token in this request is marked as expired.