Settings

Admin Teams Settings Set Icon

POST
/admin.teams.settings.setIcon

Sets the icon of a workspace.

Authorization

slackAuth admin.teams:write
AuthorizationBearer <token>

In: header

Scope: admin.teams:write

Header Parameters

Content-Type*"application/x-www-form-urlencoded"

Value in

  • "application/x-www-form-urlencoded"

Request Body

application/x-www-form-urlencoded

token*string

Authentication token. Requires scope: admin.teams:write

image_url*string

Image URL for the icon

team_id*string

ID for the workspace to set the icon for.

Response Body

application/json

application/json

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