Bulk request access on user behalf

Triggers an access request for each of the specified policies on behalf of the user identified by userEmail.

For each policy, the approval flow runs first, and its provisioning workflow runs once the request is approved.

For temporary access, a deprovisioning workflow runs automatically when the requested duration ends.

The user must be eligible for each policy (a member of its eligibility groups); a policy the user isn't eligible for is rejected.

Each policy is processed independently, so some may succeed while others are rejected.

  • Rate limit: 30 requests per minute

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Request access on behalf of this user

triggerAccessProfiles
array of objects
length between 1 and 50

The policies to request, each with the name of the access profile to request from it. Send this or triggerIdAccessRequestPolicies, never both

triggerAccessProfiles
integer
required
≥ 1

The ID of the policy to request

string
required
length between 1 and 100

The name of the access profile to request, as the policy's profiles lists it

triggerIdAccessRequestPolicies
array of integers
required
length between 1 and 50

The IDs of the policies to request. Works only for a policy that offers one access profile, and requests that profile. A policy that offers more than one access profile is rejected with ACCESS_PROFILE_REQUIRED: request it in triggerAccessProfiles

triggerIdAccessRequestPolicies*
string

Deprecated. Send it as a formAnswers item.

requestedAccessDuration
object

Deprecated. Send it as a formAnswers item.

formAnswers
array of objects
length ≤ 51

Answers to the policy's requestForm, one item per answered field, the access duration included. Send them instead of description and requestedAccessDuration. Each answer comes from the person asking for the access, required and optional questions alike: collect it from them rather than filling one in for them, unless they ask for it to be chosen for them. A choice answer is the option's value, exactly as requestForm lists it. A 400 INVALID_FORM_ANSWERS lists every field to fix in details

formAnswers
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json