Delete a team
curl --request DELETE \
--url https://app.trelica.com/api/people/v1/teams/{id} \
--header 'Authorization: Bearer <token>'{
"type": "about:blank",
"title": "One or more validation errors occurred.",
"status": 400,
"detail": "The request body failed validation. See errors for the offending fields.",
"errors": {
"email": [
"The email field is required."
]
},
"traceId": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01"
}Teams
Delete a team
Deletes the team with the given ID, along with its descendants, and removes the corresponding memberships from people. Teams that are in use by integrations cannot be deleted.
Required scope: People.Write (Write access to people and teams)
DELETE
/
api
/
people
/
v1
/
teams
/
{id}
Delete a team
curl --request DELETE \
--url https://app.trelica.com/api/people/v1/teams/{id} \
--header 'Authorization: Bearer <token>'{
"type": "about:blank",
"title": "One or more validation errors occurred.",
"status": 400,
"detail": "The request body failed validation. See errors for the offending fields.",
"errors": {
"email": [
"The email field is required."
]
},
"traceId": "00-0af7651916cd43dd8448eb211c80319c-b7ad6b7169203331-01"
}Was this page helpful?
⌘I