Teardowns
Transition a teardown
Move a teardown through the lifecycle state machine.
POST
Drives a teardown between lifecycle states. Use this not PATCH to change a teardown’sDocumentation Index
Fetch the complete documentation index at: https://teardowns.aero/docs/llms.txt
Use this file to discover all available pages before exploring further.
status. Each action is validated against the
state machine; trying an invalid transition returns 400 with a clear
message.
See status lifecycle for the full state
diagram.
Headers
Bearer tdao_live_…Your organization’s UUID.
application/jsonPath parameters
Body
The transition action to perform. See the table below.
Required when
action="reject". Optional otherwise. Stored in the
audit row’s metadata.Actions
| Action | Valid from | Result | Requires |
|---|---|---|---|
start_processing | active_starting | active_in_process | seller |
complete | active_in_process | active_completed | seller |
unpublish | any active_* | draft (UI-only state) | seller |
archive | any | archived | seller |
restore | archived | draft | seller |
submit | draft | active_starting | seller |
Response
200 OK. A small transition response:
The teardown’s id.
The new status after the transition.
The prior status. Populated for admin-only transitions; usually
null for the seller-facing actions listed above.The transition endpoint currently returns the internal field names
(
id, status). The other teardown endpoints have moved to the
partner-facing names (teardown_id, etc.). We’ll align this in a
future release.Audit trail
Every transition writes one audit row:action=teardown.<your-action>(e.g.,teardown.complete,teardown.archive).previous_state={ "status": "<old-status>" }new_state={ "status": "<new-status>" }metadata.via_api = trueplus the standard API-key tags.- For
reject:metadata.reasoncarries your reason string.
See also
- Status lifecycle for the full state diagram and the conceptual model.
- Delete a teardown for hard delete vs. archive trade-offs.
- Update a teardown for changing
fields other than
status.

