CLI Reference Guide
<isCriticalSystemObject>false</isCriticalSystemObject>
<description>description for catalog category</description>
<iconUrl>/catalog/category/x.png</iconUrl>
<name>EXAMPLE_FIRST_CATALOG_CATEGORY</name>
<displayName>Example first Catalog Category</displayName>
<disabled>false</disabled>
</catalogCategory>
<catalogCategory> ... </catalogCategory>
...
</Catalog>
Update catalog categories
Details
URI
/catalog/<catalog_id>/category/<category_id>
Method
PUT
Parameters
userIdentifier=<user_id>
Required; the user ID you want to use as credentials for this API call. See "Get
userIdentifier" on page 88 for the steps required to get the userIdentifier value.
Returns
200 - Ok (Indicates the REST call executed without error. See XML return
content for details on categories updated.)
401 - Not authorized
404 - Object not found
500 - Server exception
Note thatīany CatalogCategory elements not specified in the request body will be left unchanged.
Example
The following URL was sent:
https://<host>:<port>/csa/rest/catalog/8a81818f3d02fb7e013d0308894a0004/
category/8a81818f3d128500013d1341a5c6000d
?userIdentifier=90d96588360da0c701360da0f1d5f483
The following XML was sent in the request:
<CatalogCategory>
<displayName>Changing first example category name</displayName>
<iconUrl>/catalog/category/x.png</iconUrl>
<description>New description for first example category</description>
</CatalogCategory>
The following XML was returned:
HP Cloud Service Automation (4.00)Page 51 of 141
APIīReference
Contents