---
search:
  tags:
    - Attributes
    - PATCH
seo:
  description: >-
    Partially updates multiple… Reference for the PATCH
    /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk
    endpoint in the Management API.
sidebar:
  label: Bulk Update Attributes
  badge: PATCH
title: Bulk Update Attributes
type: openapi-operation
---
Partially updates multiple attributes for a specified attribute template. Only provided fields are modified; omitted fields remain unchanged. Supports various field types including text, number, boolean, color, images (via URL or base64), and image_object (via existing app image UUID). Automatically uploads images to Cloudflare when not referencing by id. Returns lists of successful and failed updates with detailed error reasons.

`PATCH /api/v1/{team_slug}/{app_slug}/attributes/{attribute_template_key}/bulk`

**Request body** (`application/json`, required)

Attributes to update (max 50)

- `items` (internal_pkg_webserver_v1.BulkPatchAttributeItem[], required)

Request body example:

```json
{
  "items": [
    {
      "description": "string",
      "key": "string",
      "name": "string",
      "values": {
        "property1": null,
        "property2": null
      }
    }
  ]
}
```

**Responses**

- `200` — Attributes processed successfully
- `400` — Invalid request payload
- `401` — Unauthorized access
- `404` — Attribute template not found
- `500` — Internal server error

Response example, 200:

```json
{
  "data": {
    "failed_patches": [
      {
        "input": {
          "description": "string",
          "key": "string",
          "name": "string",
          "values": {
            "property1": null,
            "property2": null
          }
        },
        "reason": "string"
      }
    ],
    "successful_patches": [
      {
        "created_at": "string",
        "description": "string",
        "filterable": true,
        "id": "string",
        "key": "string",
        "name": "string",
        "template_key": "string",
        "template_name": "string",
        "translatable": true,
        "translations": {
          "description": [
            {
              "id": "string",
              "locale": "string",
              "value": "string"
            }
          ],
          "name": [
            {
              "id": "string",
              "locale": "string",
              "value": "string"
            }
          ]
        },
        "updated_at": "string",
        "values": {
          "property1": {
            "field_id": "string",
            "id": "string",
            "image_id": "string",
            "image_object": {
              "alt": "string",
              "app_id": "string",
              "blurhash": "string",
              "copyright": "string",
              "custom": {
                "property1": "string",
                "property2": "string"
              },
              "folder_id": "string",
              "id": "string",
              "parent_id": "string",
              "public": true,
              "status": "string",
              "title": "string",
              "url": "string"
            },
            "translations": {
              "value": [
                {
                  "id": "string",
                  "locale": "string",
                  "value": "string"
                }
              ]
            },
            "type": "string",
            "value": "string"
          },
          "property2": {
            "field_id": "string",
            "id": "string",
            "image_id": "string",
            "image_object": {
              "alt": "string",
              "app_id": "string",
              "blurhash": "string",
              "copyright": "string",
              "custom": {
                "property1": "string",
                "property2": "string"
              },
              "folder_id": "string",
              "id": "string",
              "parent_id": "string",
              "public": true,
              "status": "string",
              "title": "string",
              "url": "string"
            },
            "translations": {
              "value": [
                {
                  "id": "string",
                  "locale": "string",
                  "value": "string"
                }
              ]
            },
            "type": "string",
            "value": "string"
          }
        }
      }
    ]
  },
  "details": [
    "string"
  ],
  "success": true
}
```
