---
title: "Update a collection's metadata (editor/admin required)."
method: POST
path: "/v1/collections/update"
tags: ["resource-facade"]
---

# Update a collection's metadata (editor/admin required).

`POST /v1/collections/update`

## Headers

- `x-api-key` string, nullable

## Request body

- CollectionUpdateInput
  - `name` string, nullable
  - `description` string, nullable
  - `color` string, nullable
  - `show_on_map` boolean, nullable
  - `layer_order` integer, nullable
  - `project_id` string, required
  - `collection_id` string, required

## Response `200`

Successful Response

- CollectionResponse — Collection as returned from the API.
  - `id` string, required
  - `project_id` string, required
  - `name` string, required
  - `description` string, nullable
  - `color` string, nullable
  - `show_on_map` boolean
  - `layer_order` integer
  - `auto_created` boolean
  - `source_type` string, nullable
  - `source_id` string, nullable
  - `item_count` integer
  - `deleted_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geopera/apis/geopera-data-platform.md) · [All operations](https://skmtc.dev/geopera/apis/geopera-data-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geopera/geopera-data-platform/revisions/cb0130b2a40a/schema)
