---
title: "Update/create several PAM assets"
method: PATCH
path: "/api/rest/v1/assets"
tags: ["PAM asset"]
---

# Update/create several PAM assets

`PATCH /api/rest/v1/assets`

This endpoint allows you to update several PAM assets at once.

## Request body

- object
  - `code` string, required — PAM asset code
  - `categories` string[] — Codes of the PAM asset categories in which the asset is classified
  - `description` string — Description of the PAM asset
  - `localizable` boolean — Whether the asset is localized or not, meaning if you want to have different reference files for each of your locale
  - `tags` string[] — Tags of the PAM asset
  - `end_of_use` string, dateTime — Date on which the PAM asset expire
  - `variation_files` object[] — Variations of the PAM asset
    - `_link` object — Links to get and download the variation file
      - `self` object
        - `href` string — URI of the variation entity
      - `download` object
        - `href` string — URI to download the variation file
    - `locale` string — Locale code of the variation
    - `scope` string — Channel code of the variation
    - `code` string — Code of the variation
  - `reference_files` object[] — Reference files of the PAM asset
    - `_link` object — Links to get and download the reference file
      - `self` object
        - `href` string — URI of the reference file entity
      - `download` object
        - `href` string — URI to download the reference file
    - `locale` string — Locale code of the reference file
    - `code` string — Code of the reference file

## Response `200`

OK

- object
  - `line` integer — Line number
  - `identifier` string — Resource identifier, only filled when the resource is a product
  - `code` string — Resource code, only filled when the resource is not a product
  - `status_code` integer — HTTP status code, see <a href="/documentation/responses.html#client-errors">Client errors</a> to understand the meaning of each code
  - `message` string — Message explaining the error

## Other responses

- `401` — Authentication required
- `403` — Access forbidden
- `413` — Request Entity Too Large
- `415` — Unsupported Media type

---

[API](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api.md) · [All operations](https://skmtc.net/akeneo/apis/akeneo-pim-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeneo/akeneo-pim-rest-api/versions/d8bda9b93b59/schema)
