Update Category
Updates the category with the given ID. The type of the category can't be changed.
Request
URI
PUT
https://{api_host}/vco/api/categories/{id}
COPY
Path Parameters
string
id
Required
id
Request Body
category-context
of type(s)
application/json
Required
{
"categoryType": "string",
"name": "string",
"description": "string",
"parent-category-id": "string"
}
string
categoryType
Optional
categoryType
Possible values are :
ResourceElementCategory,
ConfigurationElementCategory,
WorkflowCategory,
PolicyTemplateCategory,
ScriptModuleCategory,
string
name
Optional
name
string
description
Optional
description
string
parent-category-id
Optional
parent-category-id
Responses
204
The request is successful
Operation doesn't return any data structure
400
Category name must be specified
Operation doesn't return any data structure
401
User is not authorized
Operation doesn't return any data structure
404
Cannot find a category with the specified ID and type
Operation doesn't return any data structure
Code Samples
COPY
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/vco/api/categories/{id}
On This Page
Category Service Operations
GET
Get Category
PUT
Update Category
POST
Add Child Category
DELETE
Delete Category
GET
List Categories
POST
Add Root Category