> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zixflow.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update A Collection Record

> This endpoint updates an existing collection record in the specified collection.

#### Description

This API endpoint allows the modification of an existing collection record within a specified collection. The record to be updated is identified by the provided collection ID and record ID.

#### Path

<ParamField path="collectionId" type="string" required>
  A unique identifier for the collection containing the record to be updated.
</ParamField>

<ParamField path="recordId" type="string" required>
  The unique identifier for the record to be updated within the specified collection.
</ParamField>

#### Body

<ParamField body="<key>" type="varies" required>
  Key-value pairs representing updated data for the collection record. Keys are defined by the attribute API key name, and values depend on the input type of the attribute.
</ParamField>

#### Response

<ResponseField name="status" type="boolean">
  Indicates the success or failure of the collection record update. In this case,
  true signifies a successful operation.
</ResponseField>

<ResponseField name="message" type="string">
  Provides a human-readable message accompanying the response. In this instance,
  it confirms the successful update of the collection record with the message "Record updated successfully!"
</ResponseField>

<ResponseExample>
  ```json 200-Success theme={null}
  {
      "status": true,
      "message": "Record updated successfully!"
  }
  ```

  ```json theme={null}
  {
    "status": false,
    "message": "No token provided"
  }
  ```
</ResponseExample>
