PATCH /api-web/api/dms/catalogs/{qname}
As of Version | product version 2021 Summer | component version | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request Method | PATCH | ||||||||||||||
Response Format | JSON | ||||||||||||||
Required Permission | Available if listed in | ||||||||||||||
Description | Updates the existing tenant-specific catalog identified by its name The tenant-specific resource will be checked first. If a catalog with name In the response body, the modified tenant-specific catalog will be returned. If no catalog with name Response HTTP status codes:
| ||||||||||||||
Request Example |
request body [ { "op": "replace", "path": "/entries/1/name", "value": "Rental agreement" }, { "op": "remove", "path": "/entries/3 { "op": "add", "path": "/entries/-", "value": { "name": "Purchase contract", "disabled": true} } ] | ||||||||||||||
Response Example |
response body { "tenant": "mytenant", "readonly": false, "entries": [ { "name": "Employment contract", "disabled": false }, { "name": "Rental agreement", "disabled": false }, { "name": "User contract", "disabled": false }, { "name": "Purchase contract", "disabled": true } ] } |