Skip to main content
POST
/
api
/
directory
/
teams.disable
Disable a team
curl --request POST \
  --url https://api.example.com/api/directory/teams.disable \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358"
}
'

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

Response

204

Team successfully disabled.