Update an existing document template with partial attributes. Only provided fields will be updated.
Updatable Fields:
Notes:
cURL
curl --request PATCH \ --url https://api.beltic.com/v1/document-templates/{id} \ --header 'Content-Type: application/json' \ --data ' { "data": { "type": "document-template", "id": "123e4567-e89b-12d3-a456-426614174000", "attributes": { "name": "Passport Document", "description": "Template for processing passport documents", "extraction_config": { "enabled": true, "schema": { "type": "object", "properties": {}, "required": [ "<string>" ], "additionalProperties": true }, "extraction_rules": "" }, "fraud_config": { "enabled": true } } } } '
{ "data": { "type": "document-template", "id": "123e4567-e89b-12d3-a456-426614174000", "attributes": { "name": "<string>", "extraction_config": { "enabled": true, "schema": "<unknown>", "extraction_rules": "<string>" }, "fraud_config": { "enabled": true }, "description": "<string>", "status": "published", "is_active": true, "created_at": "<string>", "updated_at": "<string>" }, "relationships": {} } }
Template unique identifier
"123e4567-e89b-12d3-a456-426614174000"
Show child attributes
Template updated successfully
Was this page helpful?