curl --request PUT \
--url https://api.getcargo.io/v1/storage/records/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"modelUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "<string>",
"data": {}
}
'{
"record": {}
}Update a single row. Body: ; data is merged then id is set under the model id column slug.
curl --request PUT \
--url https://api.getcargo.io/v1/storage/records/update \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"modelUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"id": "<string>",
"data": {}
}
'{
"record": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Shape: { modelUuid, id, data }. data is merged then id is applied under the model id column slug.
Target model.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$Record identifier; merged into the payload under the model id column slug (overrides the same key in data).
1Fields to update for the row.
Show child attributes
Successful response
Updated record as returned by storage.
Show child attributes
Was this page helpful?