Edit template content
POST https://api.signapi.lumin.example/v1/templates/{templateId}/content/edits
Applies find-and-replace edits to a template's source, with an optional dry run.
This endpoint is a Sign API extension. SignatureAPI has no equivalent.
Path parameters
| Name | Type | Required | Notes |
|---|---|---|---|
templateId |
string | Yes | The unique identifier of a template. A stored template (tpl_…) in this account and mode. Pattern ^tpl_[0-9A-Za-z]{22}$. Sign API extension. |
Request body
Content type application/json, required.
Body: Template.EditsInput.
Responses
200
Body: Template.EditsResult.
422
The request failed validation. The problem body lists each problem in errors.
4xx
A client error, as an application/problem+json body. Its type links to the error page for the code.
5xx
A server error, as an application/problem+json body. Retry with backoff.