Update Category

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

Authentication
This operation uses the following authentication methods.
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}