Project
Delete project
Changed onDeletes the specified project and all its endpoints, branches, databases, and users. Deleted projects can be recovered within 7 days using POST /projects/{project_id}/recover. To list recoverable projects, use GET /projects?recoverable=true.
delete/projects/{project_id}
Request
- Base URL: https://console.neon.tech/api/v2
- URL: https://console.neon.tech/api/v2/projects/{project_id}
- Auth: one of:
- HTTP bearer
- API key in cookie zenith
- API key in cookie keycloak_token
Response
Deleted the specified project
Example response
{
"project": {
"id": "spring-example-302709",
"platform_id": "aws",
"region_id": "aws-us-east-2",
"name": "spring-example-302709",
"provisioner": "k8s-pod",
"pg_version": 15,
"proxy_host": "us-east-2.aws.neon.tech",
"store_passwords": true,
"creation_source": "console",
"history_retention_seconds": 604800,
"created_at": "2022-12-13T01:30:55Z",
"updated_at": "2022-12-13T01:30:55Z",
"owner": {
"name": "John Smith",
"email": "some@email.com",
"branches_limit": 10,
"subscription_type": "scale"
},
"org_id": "org-morning-bread-81040908",
"owner_id": "629982cc-de05-43db-ae16-28f2399c4910",
"data_storage_bytes_hour": 2831928,
"branch_logical_size_limit": 10,
"branch_logical_size_limit_bytes": 10485760,
"data_transfer_bytes": 1000,
"written_data_bytes": 193990002,
"compute_time_seconds": 2485760,
"active_time_seconds": 621440,
"cpu_used_sec": 155350,
"consumption_period_start": "2022-11-01T00:00:00Z",
"consumption_period_end": "2022-12-01T00:00:00Z"
}
}Changes
- ○
response property
project/data_storage_bytes_hourdeprecated
- ○
- ○
the
response's property default value changed from17to18for the status
- ○