# Delete service account in project

`DELETE /v1/projects/{project}/serviceAccounts/{serviceAccount}`, operation `serviceAccounts.DeleteServiceAccountInProject`

Deletes a service account, with its keys. Everything granted to it is removed.

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `project` | path | Yes | `string` | The project's ID. |
| `serviceAccount` | path | Yes | `string` | The service account's ID. |
| `force` | query | No | `boolean` | Deletes the account even if it has keys, deleting them too. Without it, deleting an account with keys fails with failed_precondition. |

## Responses

### 204

No Content

### default

Error

Base URL: `https://api.kosem.ai`. See [API conventions](https://docs.kosem.ai/reference/api-conventions.md) for authentication, pagination and errors, and [https://docs.kosem.ai/openapi.yaml](https://docs.kosem.ai/openapi.yaml) for the full OpenAPI document.