Overwrite a Scaleway IAM Group's entire membership
scaleway_iam_set_group_membersReplace all members of an IAM group with specified user and application IDs. Requires explicit confirmation and cannot modify Scaleway-managed groups.
Instructions
FULL-REPLACE a Group's membership: the given user_ids/application_ids become the COMPLETE member list - anyone currently a member but NOT in either list is REMOVED, losing this group's grants immediately. Requires confirm=true. Pass empty arrays to remove everyone. Refuses Scaleway-managed/special groups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be explicitly true. | |
| group_id | Yes | Group ID, from scaleway_iam_list_groups. | |
| user_ids | Yes | The COMPLETE list of member user ids - omitted ones are removed. | |
| application_ids | Yes | The COMPLETE list of member application ids - omitted ones are removed. |