Skip to main content
slack.disableUserGroup disables a user group while retaining its definition.

Example

automations/disable-user-group.automation.ts

Inputs

Requires the stable Slack userGroupId.

Output

Returns the disabled user group. Requires usergroups:write, a paid Slack plan, and sufficient workspace permissions.