Delete All Tags by Key

delete

/paas/api/v1.1/tags/{identityDomainId}/tags/{tagKey}

Deletes all user-defined tags that have the specified key.

Set the optional ?removeAssignments query parameter to true to remove all tags and any existing assignments that match the specified tag key.

Request

Path Parameters
Query Parameters

Response

204 Response

No Content.

Successfully deleted one or more tags. There is no response body.

400 Response

Bad request.

An attempt was made to delete a tag that cannot be removed (for example, a system-provided tag cannot be deleted).

404 Response

Not found.

No tags with the specified key were found.

409 Response

Conflict.

One or more tags are assigned to one or more resources, and the removeAssignments query parameter was not set to true.