API Docs / Operations / Tasks - Templates / Revert TaskTemplate to Library

Revert TaskTemplate to Library

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

Reverts the TaskTemplate to the current library template version, overwriting any local edits. The TaskTemplate's code is preserved so it remains addressable at the same URL. Returns 400 if the TaskTemplate was not imported from the library, or 404 if the TaskTemplate 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