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
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

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.

Enter a gateway URL above to enable sending.

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

TypeScript

import slack from '@utdk/slack';

await slack.usergroupsDisable()