PATCH
更新实体记录
/entities/{entity_key}/records/{record_id}更新现有实体记录。
参数
路径参数
| 名称 | 类型 | 描述 |
|---|---|---|
entity_key必填 | string | The entity schema ID |
record_id必填 | string | The record ID |
请求体
application/json必填
{
data*:objectFields to update
}
代码示例
curl -X PATCH "https://api.qamaq.io/api/v1/entities/{entity_key}/records/{record_id}" \
-H "Authorization: Bearer qmq_your_api_key" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'响应
200Record updated successfully
Response Body
{
id:stringdata:objectupdated_at:string (date-time)}