Update Category
PATCH {{baseUrl}}/framework/v1/category/update/:code?framework=Ut enim offici
This API is associated with updating a category in an existing framework
- The endpoint for Update Category is /framework/v1/category/update/{code}
- It points to knowledge-mw-service - /v1/framework/category/update/{code}
- The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
framework | string | (Required) Represents the framework to which the category belongs |
Request Body
{"request"=>{"category"=>{"description"=>"Updated description"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.category.update","ver":"1.0","ts":"2020-12-14T19:37:49.082Z","params":{"resmsgid":"d916e7a0-3e43-11eb-9ff3-67c41480f6aa","msgid":"d90f4680-3e43-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"node_id":"dummy_framework_subject","versionKey":"1607974669043"}}