Skip to main content
POST
/
api
/
directory
/
teams.update
Update a team
curl --request POST \
  --url https://api.example.com/api/directory/teams.update \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358",
  "name": "<string>",
  "short_name": "<string>",
  "color": "<string>",
  "external_id": "<string>"
}
'

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

name
string
short_name
string

Can be provided only for sectors

color
string

Can be provided only for sectors

external_id
string

Can be provided only for sectors and sites

Response

204

Team successfully updated.