Delete a label

Required scope: command_labels:delete

Removes a label from a teamspace's labels. Tickets that have the label stop showing it. The user needs edit access to the teamspace's Labels field. A gid that isn't one of the teamspace's labels returns 404. Returns an empty data record.

🚧

Early Access

Command endpoints are in early access and the interface is subject to change. For updates, please refer to our API Changelog.

📘

Command license required

To use these endpoints, you need a Command license. Learn what Command includes

Path Params
string
required

Globally unique identifier for the Command label.

Query Params
string
required

The gid of the teamspace the label belongs to.

boolean

Provides “pretty” output.
Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json