List Tags For Category Tag
Enumerates all tags for the given category. To invoke this operation, you need the read privilege on the given category and the individual tags in that category.
Request
URLURL
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.
{
"category_id": "string"
}
The identifier of the input category. The parameter must be an identifier for the resource type: com.vmware.cis.tagging.Category.
Authentication
Response
Response BodyResponse Body
array
of
string
of type application/json
The list of resource identifiers for the tags in the given input category. The result will contain identifiers for the resource type: com.vmware.cis.tagging.Tag.
Errors
com.vmware.vapi.std.errors.unauthorized : if you do not have the privilege to read the category.
com.vmware.vapi.std.errors.not_found : if the category for the given categoryId 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
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/com/vmware/cis/tagging/tag/id:{category_id}?~action=list-tags-for-category
x-vmw-doc-operation: list_tags_for_category