Access Flows
Note: Some fields are only applicable in self-serve access flows and are ignored or not required in automatic access flows. Refer to each field’s description to understand when it applies.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
Display name of the access flow
activebooleanRequired
Activity state of the access flow (active or inactive)
triggerstringRequired
Event or action that triggers the access flow
grant_duration_in_mininteger · int32 | nullableOptional
Duration of access granted to the user, in minutes
request_for_othersbooleanRequired
Responses
200
OK
application/json
post
/api/admin/v2/access-flows200
OK
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
namestringRequired
Display name of the access flow
activebooleanRequired
Activity state of the access flow (active or inactive)
triggerstringRequired
Event or action that triggers the access flow
grant_duration_in_mininteger · int32 | nullableOptional
Duration of access granted to the user, in minutes
request_for_othersbooleanRequired
Responses
200
OK
application/json
put
/api/admin/v2/access-flows/{id}200
OK
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
namestring | nullableOptional
activeboolean | nullableOptional
revoke_after_in_secinteger · int32 | nullableOptional
Responses
200
OK
application/json
patch
/api/v1/access-flows/{id}200
OK
Last updated
Was this helpful?
