Skip to main content
DELETE
/
v1
/
projects
/
{id}
Delete a project
curl --request DELETE \
  --url https://api.craftkit.dev/v1/projects/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3f9b6c2e-1a2b-4c3d-9e8f-7a6b5c4d3e2f",
  "deleted": true
}

Authorizations

Authorization
string
header
required

Account API key (ck_acct_…) presented as a bearer token. Distinct credential system from bearerApiKey — validated against a separate table, never against project keys or vice versa. Scoped to every project owned by the account; used only by the /v1/projects* endpoints below (each of which declares this scheme explicitly and does not inherit the document-level bearerApiKey default). Minted from the dashboard (Account → API keys) — there is no programmatic endpoint that issues an account key.

Path Parameters

id
string<uuid>
required

The project id.

Response

Deleted.

id
string<uuid>
required
deleted
boolean
required