Revoke an OAuth token

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • You might want to revoke an OAuth access or refresh token for security reasons.

    Avant de commencer

    Role required: oauth_admin

    Pourquoi et quand exécuter cette tâche

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

    Procédure

    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 [ ].

    Résultats

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