API Docs / Operations / Document Templates / Revert DocumentTemplate to Library

Revert DocumentTemplate to Library

PUT /tenants/{tenant}/document-templates/{code}/library-version

Reverts the DocumentTemplate to the current library template version, overwriting any local edits. The DocumentTemplate's code is preserved so it remains addressable at the same URL. Returns 400 if the DocumentTemplate was not imported from the library, or 404 if the DocumentTemplate or its source library template no longer exists.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found