v1

latestSwagger 2.02026-07-13137761.0 MB
PAM asset category

Update/create several PAM asset categories

This endpoint allows you to update several PAM asset categories at once.

patch/api/rest/v1/asset-categories

Request body

codestring required

PAM asset category code

parentstring

PAM ssset category code of the parent's asset category

Example request

{
  "code": "front_views",
  "parent": "pictures",
  "labels": {
    "en_US": "Front views",
    "fr_FR": "Vues de face"
  }
}

Response

OK

lineinteger

Line number

identifierstring

Resource identifier, only filled when the resource is a product

codestring

Resource code, only filled when the resource is not a product

status_codeinteger

HTTP status code, see <a href="/documentation/responses.html#client-errors">Client errors</a> to understand the meaning of each code

messagestring

Message explaining the error