Settings

Admin Teams Settings Set Name

POST
/admin.teams.settings.setName

Set the name of a given workspace.

Authorization

slackAuth admin.teams:write
AuthorizationBearer <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

ID for the workspace to set the name for.

name*string

The new name of the workspace.

Response Body

application/json

application/json

curl -X POST "https://example.com/admin.teams.settings.setName" \  -H "token: string" \  -H "Content-Type: application/x-www-form-urlencoded" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'team_id=string&name=string'
{  "ok": "True"}