Delete Multiple Tags
put
/paas/api/v1.1/tags/{identityDomainId}/tags
Deletes one or more tags.
Set the optional ?force
query parameter to true
to allow tags to be deleted even if they are assigned to resources.
Request
Supported Media Types
- application/json
Path Parameters
-
identityDomainId: string
Identity domain ID for the Oracle Data Hub Cloud Service account.
Query Parameters
-
force(optional): boolean
Flag that specifies whether to allow (
true
) or not allow (false
) tags to be deleted if the tags are assigned to resources. Default isfalse
(do not delete if the specified tags are assigned to resources). Set totrue
to allow tags to be deleted even if there are tag assignments.Also, the request will fail (
false
) or not fail (true
) if any of the specified tags are not found.
The request body defines the tags to delete.
Response
Supported Media Types
- application/json
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/value pair were found, and the force
query parameter was not set to true
.