latestSwagger 2.02026-08-191,9198883.9 MB

b296c3a60aa5

ApprovalPolicies

Creates a new approval policy in the specified Octopus Deploy space.

post/spaces/{spaceIdentifier}/approvalpolicies

Path parameters

spaceIdentifierstring required

Identifier (ID or slug) of the space

Request body

AllowSelfApprovalboolean

Whether deployment creators are allowed to approve their own deployments

ApprovingTeamIdsstring[]

The teams who are authorized to approve

ApprovingUserIdsstring[]

The users who are authorized to approve

Descriptionstring
IsDisabledboolean

Whether this approval policy is disabled

MinimumApproversRequiredinteger

Set a number of minimum approvers required to authorize the deployment

Namestring required
ScopingStrategystring
SpaceIdstring required
TenantApprovalStrategystring

Response

Created

AllowSelfApprovalboolean
ApprovingTeamIdsstring[]
ApprovingUserIdsstring[]
Descriptionstring
Idstring required
IsDisabledboolean
MinimumApproversRequiredinteger
Namestring required
ScopingStrategystring
SpaceIdstring required
TenantApprovalStrategystring