Skip to main content

Replaces policy members

PUT 

/iam/policies/:id/members

Replaces the entire member list of a specific policy with a new list. 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:update

Request

Path Parameters

    id stringrequired

    ID of the policy.

Body

required
    members string[]

    List of members that replaces previous policy member list.

Responses

A successful response.

Schema
    members string[]

    Resulting list of policy members.

Loading...