Update Component Status
Components
Update Component Status
Update the status of a component
POST
Update Component Status
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
New status:
draft, modified, published, or deletedStatus Transitions
| From | To | Allowed |
|---|---|---|
draft | deleted | Yes |
modified | deleted | Yes |
published | deleted | Yes |
deleted | draft | Yes (restore) |
deleted | modified | Yes (restore, if previously published) |
| Any | published | No (use package creation) |
Response
Returns the updated Component object.Use Cases
Soft Delete a Component
Set status todeleted to prevent future use while maintaining existing package references:
Restore a Deleted Component
Set status back todraft or modified to restore a deleted component: