---
title: "PATCH /collections"
method: PATCH
path: "/collections"
tags: ["collection"]
---

# PATCH /collections

`PATCH /collections`

Update collection definitions

## Request body

- PatchCollectionRequest
  - `Migration` unknown
  - `Patch` string

## Response `200`

ok

## Other responses

- `400` — error

## Changes

- **2025-08-12** `9b34d7c2f707` — 1 breaking, 2 info
  - the request's body type/format changed from `string`/`` to `object`/``
  - added the new optional request property `Migration`
  - added the new optional request property `Patch`
- **2025-06-02** `60812f5416c5` — 1 breaking, 2 warning
  - the request's body type/format changed from `object`/`` to `string`/``
  - removed the request property `Migration`
  - removed the request property `Patch`

[Change history](https://skmtc.dev/sourcenetwork/apis/defradb-api/changes/collections/patch.md)

---

[API](https://skmtc.dev/sourcenetwork/apis/defradb-api.md) · [All operations](https://skmtc.dev/sourcenetwork/apis/defradb-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sourcenetwork/defradb-api/revisions/bf2e90fa690e/schema)
