Archive Card
POST/api/v1/cards/:card_id/archive
Archive a card (soft delete) plus optional descendants and related peer cards.
Body shape:
child_strategy:cascade|disconnect|reparent(required if the primary card has direct children — otherwise 409).related_card_ids: peer cards (capped at 200) to also archive in the same operation. Single-hop only — the related cards' own peer relations are NOT recursed.cascade_all_related: bulk-mode shortcut that resolves all direct relations of the primary on the server side.
Permission check runs against every affected card; first denial aborts.
Request
Responses
- 200
- 422
Successful Response
Validation Error