Skip to main content
DELETE
Delete Project

Path Parameters

project_id
string
required

Body

application/json

Request body for deleting a project.

Project deletion requires the caller to echo the project's current name as a typed confirmation token. The field is required — there is no boolean shortcut — and the server rejects any mismatch with HTTP 400 so a stale scripted call cannot silently destroy the wrong project.

Attributes: confirmation: Must equal the target project's name exactly. orphan_resources: When True, cascade-delete every resource in the project in the same transaction without invoking the per-resource on_delete provider lifecycle. Cloud infrastructure keeps running and pragma forgets it exists. When False (default), the endpoint refuses to delete a non-empty project and returns the list of blocking resources so the caller can deactivate them explicitly.

confirmation
string
required
Required string length: 1 - 200
orphan_resources
boolean
default:false

Opt in to cascade-wipe owned resources without running provider teardown. Defaults to False; non-empty projects are rejected unless this flag is True.

Response

Successful Response