v1
latestOpenAPI 3.0.22026-07-144652931.4 MBSession Configurations
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
put/session_configurations
Query parameters
type'mobile' | 'web' required
Session configuration type. This can be either 'mobile' or 'web', or a comma-separated list of both.
Headers
Acceptstring required
The Accept header is used as a versioning header.
Content-Type'application/json' required
Request body
Example request
{
"session_configuration": {
"absolute_session_ttl": 3600,
"idle_session_ttl": 600
}
}Response
Session Configurations updated successfully
Example response
{
"session_configurations": [
{
"type": "web",
"absolute_session_ttl": 3600,
"idle_session_ttl": 1800
}
]
}