---
title: "Bulk update custom objects"
method: PATCH
path: "/custom-objects/{type}"
tags: ["custom-objects"]
---

# Bulk update custom objects

`PATCH /custom-objects/{type}`

Applies the same update to multiple custom objects of the given type in a single request. Pass between 1 and 100 IDs and the custom field values to set; only the provided fields are modified on each object. To update the linked account, pass the built-in Account relationship field in `custom_fields`: `{"ids":["object_uuid"],"custom_fields":{"account":{"value":"account_uuid"}}}`. To unset a field, pass its slug with an empty value.

**Rate limit:** 20 requests per minute

## Path parameters

- `type` string, required

## Request body

- UpdateCustomObjectsRequest
  - `custom_fields` object — Custom field values to apply to every listed custom object, keyed by field slug. To unset a field, pass its slug with an empty value.
  - `ids` string[], required — The IDs of the custom objects to update. Must be between 1 and 100 IDs.

## Response `200`

- UpdateCustomObjectsResponseBody
  - `request_id` string
  - `success` boolean
  - `updated_ids` string[]

## Other responses

- `400` — The request was invalid or could not be completed.
- `404`
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
