Update a custom template (only custom templates can be updated)
JWT token obtained from /auth/login endpoint.
Example:
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Resource UUID
Updated template name
"Updated Company Registration Verification"
Updated template description
"Updated template for extracting company registration data"
Updated custom identifier
"comp-reg-v2"
Updated special instructions
"Focus on extracting company name, registration number, and founding date accurately"
Updated data extraction schema
{
"company_name": { "type": "string", "required": true },
"registration_number": { "type": "string", "required": true },
"founding_date": { "type": "date", "required": true },
"address": { "type": "string", "required": false }
}Updated template configuration settings
Template updated successfully
Unique template identifier
Template name
"KTP Verification"
Template description
"Template for KTP document verification and data extraction"
Custom identifier for the template
Special instructions for template processing
Data extraction schema definition
{
"name": { "type": "string", "required": true },
"nik": { "type": "string", "required": true },
"birth_date": { "type": "date", "required": true }
}Template configuration settings
Template type - custom or prebuilt
CUSTOM, PREBUILT "CUSTOM"
Template creation timestamp
Last update timestamp