Discard Changes
Components
Discard Changes
Discard unpublished changes and revert to last published version
POST
Discard Changes
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
Component ID
Request Body
No request body required.Behavior
Discard resets a component to its last published version:- Only works for components with
draftormodifiedstatus - Component must have been previously published (have a
lastPublishedVersion) - All unpublished changes are permanently discarded
- Status returns to
published
Response
Returns the Component object withpublished status.
Error Responses
Invalid Status
Onlydraft or modified components can have changes discarded.