Skip to main content
PUT
Update Access Policy Approval 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.
Permissions joined by + are all required; or separates alternatives. Full-access keys still cannot call endpoints marked unsupported. Team keys must allow every team checked by the request. OAuth access depends on the user’s roles and resource access.
  • Remove the approval gate: An empty steps list removes the gate.

Authorizations

Authorization
string
header
required

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

Path Parameters

access_policy_id
string
required

The ID of the access policy.

id
string
required

The ID of the approval procedure.

Body

application/json
steps
ApprovalStep · object[]

The approval steps for the procedure. Required unless stages is set: an empty procedure is rejected, never treated as removal — use DeleteAccessPolicyApprovalProcedure to remove the gate.

timeoutSeconds
integer<int32> | null

How long each step waits for a human decision before timing out (in seconds). Omit / zero means "keep the existing value". Non-zero values must be within [5 minutes, 90 days].

stages
AccessPolicyApprovalStage · object[]

Authoritative staged topology. When supplied with steps, steps must be the equivalent flattened compatibility projection.

Response

200 - application/json

Success

data
data · object

The updated approval procedure.