provider usergroups POST /usergroups.disable
@utdk/slack /usergroups.disable
usergroups_disable
Disable an existing User Group
token header required
Authentication token. Requires scope: `usergroups:write`
string

Try it

Authentication
Configure credentials for Slack Web API
usergroupsDisable
POST/usergroups.disable
Disable an existing User Group

Input

Include the number of users in the User Group.

required

The encoded ID of the User Group to disable.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import slack from '@utdk/slack';

await slack.usergroupsDisable()