Create Access Policy
Create a new access policy for a team. A new policy has no approval procedure, so requests for roles governed by it proceed without approval until you attach one with Create Access Policy Approval Procedure. The Access Policy Approval Procedure API is the only way to manage a policy’s procedure.
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Team-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The ID of the team.
The name of the access policy.
A description of the access policy.
The maximum number of minutes that access can be granted for (optional).
Whether a business justification is required when requesting access (optional).
The recommended duration in minutes for access requests (optional).
Whether requests made on behalf of others require the target user's confirmation (optional).
Stable, team-scoped identity for the policy (apo_ + 22 base62 chars). Omit to have one minted. Must be unique within the team; reserved sentinel values (the team-default policy) are rejected.
Response
Success
The created access policy.

