Skip to main content

Adds policy members

POST 

/iam/policies/:id/members:add

Adds members to the member list of a specific policy. Use this endpoint to update members of either custom or compiuta-managed policies.

Ensure each element of the members array is in the correct format.

Authorization Action:

iam:policyMembers:create

Request

Path Parameters

    id stringrequired

    ID of the policy.

Body

required
    members string[]required

    List of members to add to the policy.

Responses

A successful response.

Schema
    members string[]
Loading...