|docs
Start Trial

Delete a user's session

Deprecated

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

Authorization<token>

The API Key with format Token token=<API_KEY>

In: header

Path Parameters

id*string

The ID of the resource.

type*string

The session type for the user session ID.

session_id*string

The session ID for the user.

Header Parameters

Accept*string

The Accept header is used as a versioning header.

Default"application/vnd.pagerduty+json;version=2"
Content-Type*"application/json"
Default"application/json"

Value in

  • "application/json"

Response Body

application/json

application/json

application/json

application/json