For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update a record

PATCH https://data.jetadmin.io/projects/{{project_id}}/prod/{{resource_name}}/models/{{model_id}}/{id}

Replace the double-brace placeholders with your identifiers. The interactive endpoint below uses standard OpenAPI path parameters.

Record fields, required values, filters, and operation support depend on the selected model. Use the generated API for your resource to check its exact schema.

Update a record

patch

Only supplied fields are changed; omitted fields retain their current values.

Authorizations
AuthorizationstringRequired

Static API token for the selected resource, passed directly in the Authorization header. Use the token and auth format shown by the resource API.

Path parameters
idstringRequired

Primary key of the record. Its format depends on the model.

project_idstringRequired

Project identifier. Replace {{project_id}} with your project identifier.

resource_namestringRequired

Connected resource API name. Replace {{resource_name}} with your resource name.

model_idstringRequired

Collection/model API identifier. Replace {{model_id}} with your model identifier.

Body

Fields and required values are defined by the selected model. Consult its generated API schema. Examples are illustrative.

Other propertiesanyOptional
Responses
200

Updated record.

application/json

Fields and required values are defined by the selected model. Consult its generated API schema. Examples are illustrative.

Other propertiesanyOptional
patch/projects/{project_id}/prod/{resource_name}/models/{model_id}/{id}
PATCH /projects/{project_id}/prod/{resource_name}/models/{model_id}/{id} HTTP/1.1
Host: data.jetadmin.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}
{
  "ANY_ADDITIONAL_PROPERTY": "anything"
}

Was this helpful?