Discard Draft Changes
Content
Discard Draft Changes
Discard unpublished changes and revert to the last published version
POST
Discard Draft Changes
Resets draft or modified content back to its last published version. This is useful when you want to abandon changes and return to a known good state.Documentation Index
Fetch the complete documentation index at: https://docs.metabind.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
Organization ID
Project ID
Content ID
Response
Returns the content restored to its last published state.Requirements
- Content must have status
draftormodified - Content must have been previously published (has a
lastPublishedVersion)
Error Responses
Invalid Status
Never Published
If the content was
unpublished before modifications, discarding will return it to unpublished status (not published).