Remove a crew's branches from the server's git mirror.
Every koidog/<crew>/… branch and the crew's private merge refs, from the mirror the server keeps (and its saved copy).
DELETE/api/v1/crews/{id}/branches
Scopescrewsapprove
Only for a crew that ended (409 crew_live). Never a project's default branch, and never anything on GitHub: Koidog keeps every branch it pushed there (D22). A retry of one of its agents afterwards starts the task again from the project's default branch. Repeating it removes nothing and answers the branches as missing. The timeline records the key ID, action and outcome.
Path parameters.
idstringrequired
The crew's id.
Headers.
Idempotency-Keystring
Retry the same request with the same key. Retry rules.
Response.
200 OK · JSON object