DELETE/v1/tag

Delete tags

Deletes one or more tags by name. You can delete tags without assigned projects or policies with TAG_MANAGEMENT permission; assigned tags require the applicable portfolio or policy permissions and project access. Supply between 1 and 100 distinct tag names when you provide a request body.

2 status codes
204Confirms that the tags were deleted successfully; no response body is returned.
400Returned when the operation fails, including when assignment rules or permissions prevent deleting a tag.
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type
errorsobjectoptional
Errors encountered during the operation, grouped by tag name

Error handling

A 400 is returned when a tag cannot be deleted under the assignment rules: deleting a tag assigned to projects requires PORTFOLIO_MANAGEMENT and access to all assigned projects, while deleting a tag assigned to policies requires POLICY_MANAGEMENT. You need TAG_MANAGEMENT or TAG_MANAGEMENT_DELETE permission, and any supplied body must contain 1 to 100 unique tag names.