latestOpenAPI 3.0.32026-08-10109192182.9 KB

d87cf34bca2f

Access Requests

Create Access Request

post/api/user/v4/access-requests

Request body

bundle_referencestring nullable

Unique identifier or display name of the bundle. Either bundle_reference or entitlements is required

justificationstring nullable

An explanation or reason for the access request

duration_in_secinteger nullable

Duration in seconds for which access is requested

custom_fieldsobject required

A set of user-defined key-value pairs for additional custom data. These fields may be required based on policy

granteestring nullable
    The user the access is being requested for. Accepts a user ID or email address.
    If not provided, access is requested for the authenticated user.
    Requires the caller to be authorized in the access flow to request access on behalf of the specified user

Response

OK

idstring required

Unique identifier of the access request

statusstring required

Current status of the access request

duration_in_secinteger nullable

Duration for which access is granted, in seconds

justificationstring nullable

Reason provided by the user when requesting access

creation_datestring date-time required

ISO 8601 formatted date-time

revocation_datestring date-time

ISO 8601 formatted date-time

custom_fieldsobject required

A set of user-defined key-value pairs for additional custom data. These fields may be required based on policy