# Delete Accounts Metastore Assignment

Launch stage: GA

`DELETE /api/2.0/accounts/{account_id}/workspaces/{workspace_id}/metastores/{metastore_id}`

Deletes a metastore assignment to a workspace, leaving the workspace with no metastore.

API scopes: unity-catalog

## Path parameters

- `account_id` (string, optional)
  <Databricks> account ID of any type. For non-E2 account types, get your account ID from the [Accounts Console](https://docs.databricks.com/administration-guide/account-settings/usage.html)
- `workspace_id` (int64, optional)
  Workspace ID.
- `metastore_id` (string, optional)
  Unity Catalog metastore ID

## Response

```json
{}
```

