Docs
Sign in

What a delete would remove and keep, and what holds it now.

A dry run of DELETE /crews/{id}, /projects/{id}, /artifacts/{id}, /crews/{id}/branches or /tasks/{id}/branch (kind and id).

GET/api/v1/deletions/check

Scoperead

Changes nothing. Answers whether the delete would go ahead (allowed), the error.code it would refuse with (refusal), each reason as the 409 would give it with its code and next (holds), what it would remove (removes, counted now) and keep, and the call that deletes it with the scopes it needs. Something already deleted answers alreadyDeleted: true; an id that never existed is 404. Needs only read, so a page can show the reasons before anyone holds approve. A GET: no Idempotency-Key.

Query parameters.

kindenumrequired

Which delete to check, one value: a crew, a project, an artifact, a crew's branches or one task's branch. One of crew, project, artifact, crew_branches, task_branch.

idstringrequired

The crew, project or artifact id; for crew_branches the crew's, for task_branch the task's. At least 1 character.

Response.

200 OK · JSON object