# Delete a Database Instance

Launch stage: Public Preview

`DELETE /api/2.0/database/instances/{name}`

Delete a Database Instance.

 For new workloads, Databricks recommends the Postgres API equivalent:
 [Delete a project](https://docs.databricks.com/api/postgres/v1/delete-project).

API scopes: postgres

Clouds: AWS, Azure

## Path parameters

- `name` (string, required)
  Name of the instance to delete.

## Query parameters

- `force` (boolean, optional)
  By default, an instance cannot be deleted if it has descendant instances created via PITR.
   Setting this flag to true is not supported and the request is rejected; delete the child
   instances first.
- `purge` (boolean, optional, Deprecated)
  Deprecated: omitting the field or setting it to true hard deletes the instance. Setting it to
   false returns a bad request.

## Response

```json
{}
```

