---
title: "PUT /collections/{collectionId}"
method: PUT
path: "/collections/{collectionId}"
tags: ["Collections"]
---

# PUT /collections/{collectionId}

`PUT /collections/{collectionId}`

Update collection properties.

## Path parameters

- `collectionId` string, required

## Request body

- Collection — An collection of items, can be used for view aggregation of any item/s in the system
  - `collectionId` string, required — The action id
  - `collectionName` string, required — The trigger to apply the action
  - `items` CollectionItem[], required — The collection items
    - `itemId` string, required — The item id, can be minion, timing, device etc

## Response `204`

No content

## Other responses

- `501` — Server error

---

[API](https://skmtc.net/casanet/apis/casanet-local-server.md) · [All operations](https://skmtc.net/casanet/apis/casanet-local-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/casanet/casanet-local-server/versions/0f9f76cd80d5/schema)
