Admin
Admin Teams Settings Set Discoverability
An API method that allows admins to set the discoverability of a given workspace
Authorization
slackAuth admin.teams:writeAuthorizationBearer <token>
In: header
Scope: admin.teams:write
Header Parameters
token*string
Authentication token. Requires scope: admin.teams:write
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Request Body
application/x-www-form-urlencoded
team_id*string
The ID of the workspace to set discoverability on.
discoverability*string
This workspace's discovery setting. It must be set to one of open, invite_only, closed, or unlisted.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin.teams.settings.setDiscoverability" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'team_id=string&discoverability=string'{ "ok": "True"}
