# /users/{}/sessions is deprecated

PagerDuty REST API deprecated /users/{}/sessions* without giving a shutdown date yet.

PagerDuty deprecated /users/{}/sessions* endpoints without announcing a shutdown date. Subsequent calls will fail once removed. This change affects all requests targeting the deprecated sessions endpoint path.

## What to use instead

List a user's OAuth delegations with GET /users/{id}/oauth_delegations instead. Revoke delegations using DELETE /oauth_delegations.

- API: PagerDuty REST API (api.pagerduty.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/users/{}/sessions*`
- Source: [Announcement](https://raw.githubusercontent.com/PagerDuty/api-schema/main/reference/REST/openapiv3.json)
- Verified: October 26, 2026, against PagerDuty REST API's own pages
- Page: https://www.okapi.bot/providers/pagerduty-rest-api/breaking-changes/users-sessions-is-deprecated/

## PagerDuty REST API's words

> This endpoint is deprecated, please use the [List OAuth Delegations endpoint](https://developer.pagerduty.com/api-reference/4f8e257df4468-list-a-user-s-delegations) instead.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
