Delete a project
delete_projectDestructive and irreversible. Deletes a WHOLE project (by project_id): every commit and deployment, its hosts, its volumes and restore points, its managed database and bucket, and its source repository. Nothing can bring any of it back. It is the same as Delete in the project's settings on the dashboard: the project disappears from list_projects at once and the platform removes the rest in the background. confirm_name must be the project's exact name as list_projects returns it; the call is refused when it does not match, and nothing is deleted. Meant for a project the user asked by name to delete (a test app, an app made by mistake), never as cleanup the user did not ask for. To remove one commit and keep the project, use delete_commit. Requires a read-write token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | the project id (from list_projects) | |
| confirm_name | Yes | the project's name exactly as list_projects returns it (name). The call is refused when it does not match: it is the check that the id names the project the user means |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| deleted | Yes | ||
| message | Yes | ||
| project_id | Yes |