# Update a collection

> Renames the collection or replaces its schema. A new schema governs the next write of each item; items already stored are not re-judged.

Renames the collection or replaces its `schema`. A new schema governs the next write of each item; items already stored are not re-judged.

  Request

<ParamsDetails
  {...require("./update-collection.ParamsDetails.json")}
>

<RequestSchema
  {...require("./update-collection.RequestSchema.json")}
>

<StatusCodes
  {...require("./update-collection.StatusCodes.json")}
>
