Delete a project

Only a signed-in person with a fresh second factor deletes a project, and only one whose role makes projects (it reaches every project); an API key answers `person_required`.

DELETE/v1/projects/{project_id}

Only a signed-in person with a fresh second factor deletes a project, and only one whose role makes projects (it reaches every project); an API key answers person_required. Every key and service grant of the project is revoked in the same change and refused everywhere within 60 seconds, and the project no longer answers. Its sandboxes are deleted by the cell in the background. A repeat answers not_found.

For people only: a signed-in person with a fresh second factor makes this call, from the dashboard. Any API key is refused with person_required.

Request

curl -X DELETE "https://api.pod.mapier.ai/v1/projects/prj_3ahrz6dmv29gqy5ckt18fp" \
  -H "Authorization: Bearer $POD_PERSON_TOKEN"

Parameters

NameInTypeRequiredWhat it is
project_idpathstringYes
Idempotency-KeyheaderstringNoMakes a repeat of this call safe for 24 hours.

Answer

200. The project, deleted, and how many keys and grants went with it.

200
{
  "project": {
    "id": "prj_3ahrz6dmv29gqy5ckt18fp",
    "organisation": "org_3ahrz6dmv29gqy5ckt18fp",
    "name": "example",
    "idle_s": 60,
    "created_at": "2026-11-23T12:00:00.000Z",
    "cell_endpoint": "https://app.example.com"
  },
  "deleted_at": "2026-11-23T12:00:00.000Z",
  "keys_revoked": 0,
  "grants_revoked": 0
}
FieldTypeAlwaysWhat it is
projectProjectYes
deleted_atstringYesRFC 3339 in UTC with milliseconds, for example 2026-11-23T17:04:05.123Z.
keys_revokedintegerYesAt least 0.
grants_revokedintegerYesAt least 0.

Errors

The refusals this call is known for: person_required, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.

In the SDKs

ClientCall
TypeScriptpod.projects.delete(id)
Pythonpod.projects.delete(id)