Users
Delete all user sessions
Deprecated
This endpoint is deprecated as OAuth token revocation is now synchronous. Please use the DELETE /oauth_delegations endpoint instead.
Delete all user sessions.
Beginning November 2021, user sessions no longer includes newly issued OAuth tokens.
If you are interested in deleting mobile app sessions, refer to the Delete OAuth Delegations endpoint.
Users are members of a PagerDuty account that have the ability to interact with Incidents and other data on the account.
For more information see the API Concepts Document
Scoped OAuth requires: users:sessions.write
delete/users/{id}/sessions
Request
- Base URLhttps://api.pagerduty.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The ID of the resource.
Headers
Acceptstring required
The Accept header is used as a versioning header.
Content-Type'application/json' required
Response
The user sessions were all deleted successfully.
Changes
No recorded changes to this operation across all 1 revision of this API.