com.vmware.cis.tagging.tag

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

remove_from_used_by

POST /com/vmware/cis/tagging/tag/id:{tag_id}?~action=remove-from-used-by
POST /com/vmware/cis/tagging/tag?~action=remove-from-used-by

Removes the used_by_entity from the com.vmware.cis.tagging.tag_model.used_by subscribers set. If the used_by_entity is not using this tag, then this becomes a no-op. To invoke this operation, you need modify com.vmware.cis.tagging.tag_model.used_by privilege on the tag.
Request:
Representations:
{
    "tag_id""obj-103",
    "used_by_entity""string"
}
<?xml version="1.0" ?>
<ns0:RemoveFromUsedBy-Input xmlns:ns0="http://vmware.com/cis/tagging/tag" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <used_by_entity>string</used_by_entity>
  <tag_id>obj-103</tag_id>
</ns0:RemoveFromUsedBy-Input>
POST /com/vmware/cis/tagging/tag?~action=remove-from-used-by
&used_by_entity=string
&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.
used_by_entity
 *
string Yes The name of the user to be removed from the com.vmware.cis.tagging.tag_model.used_by set.

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 remove an entity from the com.vmware.cis.tagging.tag_model.used_by field. 403

Copyright © 2014. All Rights Reserved.