Request access on user behalf

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

A policy that offers more than one access profile needs accessProfileName: the request fails with 400 ACCESS_PROFILE_REQUIRED without it, and with 400 ACCESS_PROFILE_NOT_FOUND when the policy has no access profile with that name.

The policy's 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.

Eligibility is enforced: the request fails with 400 NOT_ELIGIBLE_FOR_POLICY if the user is not a member of the policy’s eligibility groups.

  • Rate limit: 60 requests per minute

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

Request access on behalf of this user

string
length ≤ 256

Deprecated. Send it as a formAnswers item.

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
string
length between 1 and 100

The name of the access profile to request, as the policy's profiles lists it. Required when the policy offers more than one access profile. Send it also when the policy offers one

Responses

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