Organizations
PolicyGroups

BatchUpdatePolicyGroup

BatchUpdatePolicyGroup applies multiple update operations to the Policy Group efficiently. Each operation in the list uses the same fields as UpdatePolicyGroupRequest. Operations are grouped by type (adds, removes) and processed in batches for efficiency.

patch/api/orgs/{orgName}/policygroups/{policyGroup}/batch

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/policygroups/{policyGroup}/batch
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

policyGroupstring required

The policy group name

Request body

insightsAccountsstring[]

When non-nil, replaces the full list of Insights accounts in the group.

newNamestring

The new name to assign to the policy group. Up to 100 characters, made up of letters, numbers, hyphens, underscores, periods, or spaces, and may not begin or end with a space. Rejected with a 400 error for an organization's default Policy Groups, which cannot be renamed.

agentPoolIdstring

Agent pool ID for audit policy evaluation. Set to empty string to clear, omit to leave unchanged.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.