Skip to main content
POST
Create Access Policy

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
teamId
string
required

The ID of the team.

name
string
required

The name of the access policy.

description
string

A description of the access policy.

maxAccessMinutes
integer<int32> | null

The maximum number of minutes that access can be granted for (optional).

requireBusinessJustification
boolean | null

Whether a business justification is required when requesting access (optional).

The recommended duration in minutes for access requests (optional).

requireOnBehalfOfConfirmation
boolean | null

Whether requests made on behalf of others require the target user's confirmation (optional).

Response

Success

data
data · object

The created access policy.