Add To Used By Tag Deprecated
Adds the usedByEntity to the TagModel.used-by subscribers set. If the usedByEntity is already in the set, then this becomes a no-op. To invoke this operation, you need the modify TagModel.used-by privilege on the tag.
Request
URLURL
Path Parameters
Path Parameters
The identifier of the input tag. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Tag.
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
This is a request body class for an operation.
{
"used_by_entity": "string"
}
The name of the user to be added to the TagModel.used-by set.
Authentication
Errors
Errors
com.vmware.vapi.std.errors.unauthorized : if you do not have the privilege to add an entity to the TagModel.used-by field.
com.vmware.vapi.std.errors.not_found : if the tag for the given tagId does not exist in the system.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
cURL Command
Vendor Extensions
x-vmw-doc-new-method: post
x-vmw-doc-new-path: /api/cis/tagging/tag/{tag_id}?action=add-to-used-by
x-vmw-doc-operation: add_to_used_by