Update a stored PDF template
Changes a template of the organization of the API key; only the fields you send change. The id comes from the path. isActive is not accepted (400 UNSUPPORTED_FIELD); deactivate a template in the Console. System templates are read-only (403 SYSTEM_TEMPLATE_READ_ONLY); a template of another organization is 404. isDefault: true makes it the default template of the whole organization. Requires an API key with pdf:template:update and purpose user; session keys get 403 SESSION_KEY_FORBIDDEN. Not metered.
Authentication
API Key authentication. Use sk_live_* for production or sk_test_* for testing.
Path parameters
Request
Partial update: only the fields you send change. The template id comes from the path; an id in the body is ignored. isActive is not accepted (400 UNSUPPORTED_FIELD) — deactivate a template in the Console.
Response
Template id — use it as templateId in POST /pdf/generate.
api-key:<key name> for templates stored through this API.
