PATCH
/
api
/
v1
/
collection-records
/
{collectionId}
/
{recordId}
curl --request PATCH \
  --url https://api.zixflow.com/api/v1/collection-records/{collectionId}/{recordId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "<key>": {}
}'
{
    "status": true,
    "message": "Record updated successfully!"
}

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

collectionId
string
required

A unique identifier for the collection containing the record to be updated.

recordId
string
required

The unique identifier for the record to be updated within the specified collection.

Body

<key>
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.

Response

status
boolean

Indicates the success or failure of the collection record update. In this case, true signifies a successful operation.

message
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!”