Configure an account's session configurations
Creates or updates session configurations for a PagerDuty Account. The configurations will take effect immediately for new sessions, while existing sessions for the specified types are immediately revoked.
Scoped OAuth requires: session_configurations.write
Authorization
api_key The API Key with format Token token=<API_KEY>
In: header
Query Parameters
Session configuration type. This can be either 'mobile' or 'web', or a comma-separated list of both.
Value in
- "mobile"
- "web"
Header Parameters
The Accept header is used as a versioning header.
"application/vnd.pagerduty+json;version=2""application/json"Value in
- "application/json"
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Get an account's session configurations GET
Retrieves session configurations for a PagerDuty account. Returns an array containing the requested configurations. If a specific type is requested, the array contains one item. If no type is specified, the array contains all available configurations (mobile and web). If no configurations exist, a 404 Not Found error will be returned. A Session Configuration needs to be created before it can be retrieved and used. Scoped OAuth requires: `session_configurations.read`
Sre agent
Next Page