---
title: "Update Company Collection"
method: POST
path: "/api/companies/{company_uuid}/collections/update"
tags: ["company-collections"]
---

# Update Company Collection

`POST /api/companies/{company_uuid}/collections/update`

## Request

- Base URL: `https://api.regdoor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.regdoor.com/api/companies/{company_uuid}/collections/update`
- Auth: HTTP bearer

## Path parameters

- `company_uuid` string, uuid, required

## Headers

- `X-User-Email` string, nullable
- `X-User-Name` string, nullable
- `X-Teamspace-Uuid` string, uuid, nullable

## Request body

- UpdateCollectionBody: Update collection name and/or area (group). ``to_group_uuid`` null = company-wide.
  - `from_name` string, required
  - `group_uuid` string, uuid4, nullable
  - `to_name` string, required
  - `to_group_uuid` string, uuid4, nullable

## Response `200`

Successful Response

- UpdateCollectionResult
  - `updated` integer, required
  - `name` string, required
  - `group_uuid` string, uuid4, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/regdoor/apis/regdoor-api.md) - [All operations](https://skmtc.dev/regdoor/apis/regdoor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/regdoor/apis/regdoor-api/revisions/7642336631af?raw)
