v1

latestSwagger 2.02026-07-13137761.0 MB
PAM asset category

Update/create a PAM asset category

This endpoint allows you to update a given PAM asset category. Know more about <a href="/documentation/update.html#update-behavior">Update behavior</a>. Note that if no category exists for the given code, it creates it.

patch/api/rest/v1/asset-categories/{code}

Path parameters

codestring required

Code of the resource

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

Created