provider admin.teams.settingsadmin POST /admin.teams.settings.setDiscoverability
@utdk/slack /admin.teams.settings.setDiscoverability
admin_teams_settings_setDiscoverability
An API method that allows admins to set the discoverability of a given workspace
token header required
Authentication token. Requires scope: `admin.teams: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.

adminTeamsSettingsSetdiscoverability
POST/admin.teams.settings.setDiscoverability
An API method that allows admins to set the discoverability of a given workspace

Input

required

This workspace's discovery setting. It must be set to one of `open`, `invite_only`, `closed`, or `unlisted`.

required

The ID of the workspace to set discoverability on.

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.adminTeamsSettingsSetdiscoverability()