Just-in-time settings API

The JIT Access Settings API allows organizations to define how long temporary access should last—and under what conditions. Admins can configure standing and maximum access durations, create custom expiry presets, and enforce approval policies like requiring justifications or second-party approval. This makes it easy to align access privileges with least-privilege principles and audit requirements, without slowing teams down.

Add a custom expiry duration

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
timenumberRequired
unitstring · enumRequiredPossible values:
Responses
post
/expiry-options

No content

Remove a custom expiry duration

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
keystringRequired
Responses
delete
/expiry-options/{key}

No content

Reset custom expiry durations

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Reset expiry options

application/json
post
/expiry-options/_reset

Set custom standing access duration

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
timenumberRequired
unitstring · enumRequiredPossible values:
Responses
200

Standing access configured

application/json
put
/standing-access-duration

Set custom maximum access duration

put
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
timenumberRequired
unitstring · enumRequiredPossible values:
Responses
200

Max access configured

application/json
put
/max-access-duration

Last updated