v66

OpenAPI 3.1.0raw.githubusercontent.com2026-08-0174265626.3 KB
projects

Delete project

Delete an existing project in your workspace, identified by its id.

Deletion is asynchronous and eventually consistent. The project and all of its associated resources (apps, environments, deployments, custom domains) are torn down by a background workflow. A successful response indicates the deletion was enqueued, not that every resource has already been removed.

Projects with delete protection enabled cannot be deleted until protection is disabled.

Required Permissions

Your root key must have one of the following permissions:

  • project.*.delete_project (to delete any project)
  • project.<project_id>.delete_project (to delete a specific project)
post/v2/projects.deleteProject

Request body

projectstring required

Identifies a resource by either its unique ID or its slug. Accepts a prefixed ID (such as 'proj_' or 'app_') or a slug.

Example request

{
  "project": "proj_1234abcd"
}

Response

Successfully enqueued deletion of the project.

dataEmptyResponse required

Empty response object by design. A successful response indicates this operation was successfully executed.

Example response

{
  "meta": {
    "requestId": "req_123"
  }
}