update_usergroup_members
Replace the current members of a Slack usergroup with a specified list of user IDs. Provide the usergroup ID and new member IDs to update membership, returning success status.
Instructions
Set the members of a Slack usergroup, replacing the current membership entirely.
Args: usergroup_id: The usergroup ID (S...) to update user_ids: List of user IDs (U...) that should be the members. Must contain at least one user — use clear_usergroup to remove all members.
Returns: True if the membership was updated successfully, False otherwise
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_ids | Yes | ||
| usergroup_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |