Skip to main content

Update record

Updates a record in a collection.

PATCH https://api.cogfy.com/collections/:collectionId/records/:recordId

Path params

  • collectionId: The id of the collection that has the record to be updated.
  • recordId: The id of the record to be updated.

Request body

  • properties: An object with the field id as the key and the value as the field value.
{
"properties": {
"b598a97f-b198-45e0-86fb-f1fff0ce39b5": {
"type": "number",
"number": {
"value": 2
}
},
"eb070e5e-8dce-42a4-89d1-200bab77a97d": {
"type": "text",
"text": {
"value": "Text value"
}
}
}
}