Delete tags
delete
/serviceapi/entityModel/uds/tags
Delete the Tags matching the given key and value.
The key parameter is required, Oracle Management Cloud does not allow to delete system-generated tags.
Request
Supported Media Types
- application/json
Query Parameters
-
key: string
the tag key to be deleted
-
value(optional): string
the tag value
Response
Supported Media Types
- application/json
204 Response
Success - tag(s) deleted
Examples
Delete the location loc=bos
curl -u ${OMC_USERNAME}:${PASSWORD} -X DELETE "https://serverurl/serviceapi/entityModel/uds/tags?key=loc&value=bos"
Delete all tags with key=loc
curl -u ${OMC_USERNAME}:${PASSWORD} -X DELETE "https://serverurl/serviceapi/entityModel/uds/tags?key=loc"Back to Top