com.vmware.cis.tagging.category

The category service provides operations to create, read, update, delete, and enumerate categories.

delete

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

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

Parameters:
Name Type Required Description
category_id
 *
ID Yes The identifier of category to be deleted. Id of type com.vmware.cis.tagging.Category.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

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

Copyright © 2014. All Rights Reserved.