PATCH /{url}/{id}
Description
Updates one field (cell) in a row of the table dataThe route handles the HTTP PATCH request made to the /{url}/{id}
path.
Parameters
The following path parameters are sent in the request line:
Name | Type | Description |
---|---|---|
url | string | Required. A custom provided url segment. |
id | string or number | Required. The id of the row where a field is updated. |
Payload
The server needs to receive an object with the key (field name) and value (string).
Example:
{
"key": "name",
"value": "Ann"
}
Response
Returns a JSON object with the ID of the row where a field was updated.
Example:
{
"id": 6
}
The HTTP status code shows whether the request succeeds (response.status == 200) or fails (response.status == 500).
Related articles: