QamaqQamaq
PATCH

Entitäts-Datensatz aktualisieren

/entities/{entity_key}/records/{record_id}

Aktualisiert einen bestehenden Entitäts-Datensatz.

Parameter

Pfadparameter

NameTypBeschreibung
entity_keyerforderlich
string

The entity schema ID

record_iderforderlich
string

The record ID

Anfragekörper

application/jsonerforderlich
{
data*:object

Fields to update

}

Code-Beispiele

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"}'

Antworten

200Record updated successfully

Response Body

{
id:string
data:object
updated_at:string (date-time)
}