Skip to main content

Update collection​

Update an existing collection.

Path Parameters
    collectionId string required

    The Id of the collection to be updated.

Query Parameters
    lastMutationAt float required

    The timestamp of the last mutation that was applied on the server. Required for any data modification operation to ensure concurrency control.

Request Body
    name string required

    The new name of the collection to be updated.

Responses

Request has been handled successfully.

Response Headers
  • X-Mutation-At string

    Unix timestamp (milliseconds) of the latest mutation for the user. Clients should store this value and include it in subsequent mutation requests for optimistic concurrency control.


Schema
    success boolean
    data object
    message

    Possible values: [collection renamed]

Loading...