Get an account's session configurations
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
Authorization
api_key The API Key with format Token token=<API_KEY>
In: header
Query Parameters
Session configuration type. If omitted, returns both mobile and web configurations.
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"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
Delete an account's session configurations. DELETE
Deletes the session configurations for a PagerDuty account that was previously set. The type parameter is required and specifies which configurations to delete. A single type ('mobile' or 'web') or comma-separated list may be passed in. Scoped OAuth requires: `session_configurations.write`
Configure an account's session configurations PUT
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`