v1
latestOpenAPI 3.0.22026-07-144652931.4 MBUsers
Delete a user's session
<!-- theme: warning -->Deprecated
This endpoint is deprecated as OAuth token revocation is now synchronous. Please use the DELETE /oauth_delegations endpoint instead.
Delete a user's session.
Beginning November 2021, user sessions no longer includes newly issued OAuth tokens.
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/{type}/{session_id}
Path parameters
idstring required
The ID of the resource.
typestring required
The session type for the user session ID.
session_idstring required
The session ID for the user.
Headers
Acceptstring required
The Accept header is used as a versioning header.
Content-Type'application/json' required
Response
The user session was deleted successfully.