# Delete a service principal in the account

Launch stage: GA

`DELETE /api/2.0/identity/{name=accounts/*/service-principals/*}`

Deletes a service principal from your account and removes it from the workspaces it's
 assigned to. You can't delete service principals that Databricks manages.

API scopes: identity

## Path parameters

- `name` (string, required)
  The resource name of the service principal, in the format
   `accounts/{account_id}/service-principals/{service_principal_id}`.

## Response

```json
{}
```

