---
title: "Publish all files in a collaction"
method: PATCH
path: "/collection/{collectionID}"
---

# Publish all files in a collaction

`PATCH /collection/{collectionID}`

## Request

- Base URL: `http://localhost:26900`
- URL: `http://localhost:26900/collection/{collectionID}`
- Auth: API key in header `Authorization`

## Path parameters

- `collectionID` string, required

## Response `201`

OK

## Other responses

- `401`: Authentication information is missing or invalid.
- `403`: Access denied.
- `404`: The requested resource does not exist.
- `409`: Request could not be processed
- `500`: Failed to process the request due to an internal error

---

[API](https://skmtc.dev/office-of-national-statistics/apis/files-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/files-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/files-api/revisions/b34c9662a495?raw)
