Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Delete a team label

Deletes the label and takes it off every space that wears it. The spaces themselves are untouched.

DELETE/v1/teams/{teamId}/labels/{labelId}
Authorization
AuthorizationBearer token · headerrequired

Better Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.

or
AuthorizationOAuth2 access token · headerrequired

OAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.

Scopes:spaces:write
Path parameters
teamIdstringrequired
min length 1
labelIdstringrequired
min length 1
Responses
204

The label was deleted.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://api.spacefast.com/v1/teams/string/labels/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
The label was deleted.

Was this page helpful?