Skip to content

Session Revocation — PagerDuty

Session Revocation — PagerDuty

Challenge revokes all OAuth delegations for a user, which includes third-party app access and web login sessions to PagerDuty.

Credentials

  1. In PagerDuty, create an API token with permission to manage users (account admin or scoped token with user write access).
  2. Paste the token into Challenge under Integrations → Session Revocation → PagerDuty.

Use header format: Authorization: Token token=YOUR_TOKEN

API calls Challenge makes

StepMethodEndpoint
LookupGEThttps://api.pagerduty.com/users?query={email}
RevokeDELETEhttps://api.pagerduty.com/users/{id}/oauth_delegations

Username format

Use the user’s PagerDuty account email.

Expected outcomes

  • 204 on revoke → delegations revoked
  • 404 → user not found

Troubleshooting

SymptomCheck
Ambiguous lookupMultiple users matched query; refine username
http_403API token lacks permission to manage target user