com.vmware.cis.tagging.tag

The tag service provides operations to create, read, update, delete, and enumerate tags.

delete

DELETE /com/vmware/cis/tagging/tag/id:{tag_id}
POST /com/vmware/cis/tagging/tag/id:{tag_id}?~action=delete
POST /com/vmware/cis/tagging/tag?~action=delete

Deletes an existing tag. To invoke this operation, you need the delete privilege on the tag.
Request:
Representations:
{
    "tag_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Delete-Input xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <tag_id>obj-103</tag_id>
</ns0:Delete-Input>
POST /com/vmware/cis/tagging/tag?~action=delete
&tag_id=obj-103

Parameters:
Name Type Required Description
tag_id
 *
ID Yes The identifier of the input tag. Id of type com.vmware.cis.tagging.Tag.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
not_found if the tag for the given tag_id does not exist in the system. 404
unauthorized if you do not have the privilege to delete the tag. 403

Copyright © 2014. All Rights Reserved.