v1

latestOpenAPI 3.1.0Serval License2026-07-26202952779.1 KB
Access Policy API

Create Access Policy

Create a new access policy for a team.

post/v2/access-policies

Request body

teamIdstring required

The ID of the team.

namestring required

The name of the access policy.

descriptionstring

A description of the access policy.

maxAccessMinutesinteger nullable

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

requireBusinessJustificationboolean nullable

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

recommendedAccessMinutesinteger nullable

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

requireOnBehalfOfConfirmationboolean nullable

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

Response

Success