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 · headerrequiredBetter Auth session, OAuth access token, OAuth client-credentials token, or sfm_ Space machine credential.
or
AuthorizationOAuth2 access token · headerrequiredOAuth 2.0 with explicit Spacefast capability scopes. Use the authorization-code flow for people and client credentials for machines.
Scopes:
spaces:writePath parameters
teamIdstringrequiredmin length 1
labelIdstringrequiredmin length 1
Responses
204
The label was deleted.