Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

Revert ContentBlock to Library

PUT /tenants/{tenant}/contentblocks/{code}/library-version

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

Requires: Update on ContentBlocks.

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
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found