---
title: "Bulk request access on user behalf"
method: POST
path: "/appCatalog/accessRequestPolicies/trigger"
tags: ["App Catalog"]
---

# Bulk request access on user behalf

`POST /appCatalog/accessRequestPolicies/trigger`

## Request

- Base URL: `https://api.toriihq.com/v1.0`
- URL: `https://api.toriihq.com/v1.0/appCatalog/accessRequestPolicies/trigger`
- Auth: API key in header `Authorization`

Triggers an access request for each of the specified policies on behalf of the user identified by `userEmail`.<br/><br/>For each policy, the approval flow runs first, and its provisioning workflow runs once the request is approved.<br/><br/>For temporary access, a deprovisioning workflow runs automatically when the requested duration ends.<br/><br/>The user must be eligible for each policy (a member of its eligibility groups); a policy the user isn't eligible for is rejected.<br/><br/>Each policy is processed independently, so some may succeed while others are rejected.<br/><br/>
<p><ul><li>Rate limit: 30 requests per minute</li></ul></p>

## Request body

- Model94
  - `userEmail` string, required: Request access on behalf of this user
  - `triggerIdAccessRequestPolicies` integer[], required
  - `description` string: The reason the user is requesting access to the app.
  - `requestedAccessDuration` RequestedAccessDuration: Requested access duration — how long the user should have access to the app. - **Optional by default** — omit it to request permanent access. - **Required** only when the policy allows temporary access exclusively (i.e. permanent access is disabled). - **`value` above 99** is accepted only when it matches one of the policy's duration options; a custom duration is at most 99.
    - `value` integer, required
    - `unit` 'hour' | 'day' | 'week' | 'month', required

## Response `201`

All access request policies triggered successfully

## Other responses

- `207`: Multi Status
- `400`: Bad Request

---

[API](https://skmtc.dev/toriihq/apis/torii-api-documentation.md) - [All operations](https://skmtc.dev/toriihq/apis/torii-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/toriihq/apis/torii-api-documentation/revisions/15fd1512591b?raw)
