Bulk Restore Cards
POST/api/v1/cards/bulk-restore
Restore many archived cards back to ACTIVE status in a single transaction.
Mirrors bulk_archive_cards for the inverse operation. Cards already at
ACTIVE, or whose IDs don't resolve, come back in skipped rather than
failing the batch — restoring is idempotent in spirit (the desired end
state is "this card is active", and that's already true).
No cascade: restore is a flat per-card status flip. The single-card
endpoint takes also_restore_card_ids to lift passengers from the
original archive batch; for bulk we expect the caller (the inventory
selection UI) to have already gathered the full list of cards to restore.
Request
Responses
- 200
- 422
Successful Response
Validation Error