ApprovalRules

Gets an ApprovalRuleResource by ID

Gets an ApprovalRule by ID.

get/{spaceId}/approvalrules/{id}

Path parameters

spaceIdstring required

The ID of the space containing the resource(s).

idstring required

The ID of the approval rule.

Response

Success

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

Example response

{
  "ApprovingTeamIds": [
    "Teams-1",
    "..."
  ],
  "ApprovingUserIds": [
    "Users-1",
    "..."
  ],
  "IdScopes": [
    {
      "EnvironmentIds": [
        "Environments-1",
        "..."
      ],
      "ProjectId": "Projects-1"
    }
  ],
  "SpaceId": "Spaces-1"
}

Changes

Changed in 1 of the 6 revisions of this API.1