Restore deleted email template
lnkdrp_restore_email_templateBrings back an email template deleted with lnkdrp_delete_email_template (or in the app), within 30 days of the delete, in the state it had: active, or archived. Its id is the templateId in the delete's result, and a row of lnkdrp_list_deleted with kind email_template. Refusals: not_found when the id is unknown here or the template was permanently removed (past its 30 days); validation when it is not deleted (details.code not_deleted), when an active template has its name (details.code name_taken), when the workspace is at its cap on active templates (details.code templates_limit, as unarchive answers), or when its workspace is deleted (details.code conflict). Same permission as deleting: a viewer cannot restore.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | Email template id (24 hex chars), from lnkdrp_list_email_templates. |