Access Flows

List Access Flows

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitinteger · int32OptionalDefault: 100
page_tokenstring | nullableOptional
Responses
get
/api/admin/v2/access-flows
200

OK

Create Access Flow

post

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
post
/api/admin/v2/access-flows
200

OK

Get Access Flow

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
get
/api/admin/v2/access-flows/{id}
200

OK

Update Access Flow

put
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
put
/api/admin/v2/access-flows/{id}
200

OK

Delete Access Flow

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
delete
/api/admin/v2/access-flows/{id}
204

No Content

No content

List Access Flows

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
get
/api/v1/access-flows
200

OK

Create Access Flow

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired
activebooleanRequired
revoke_after_in_secinteger · int32Required
Responses
post
/api/v1/access-flows
200

OK

Get Access Flow

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
get
/api/v1/access-flows/{id}
200

OK

Delete Access Flow

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
delete
/api/v1/access-flows/{id}
200

OK

Update Access Flow

patch
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
patch
/api/v1/access-flows/{id}
200

OK

Last updated

Was this helpful?