# BatchDeleteAccountsResponse

- [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/BatchDeleteAccountsResponse#SCHEMA_REPRESENTATION)
- [BatchDeleteErrorInfo](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/BatchDeleteAccountsResponse#BatchDeleteErrorInfo)
  - [JSON representation](https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/BatchDeleteAccountsResponse#BatchDeleteErrorInfo.SCHEMA_REPRESENTATION)

Response message to accounts.batchDelete.

| JSON representation |
|---|
| ``` { "errors": [ { object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/BatchDeleteAccountsResponse#BatchDeleteErrorInfo`) } ] } ``` |

| Fields ||
|---|---|
| `errors[]` | ``object (`https://docs.cloud.google.com/identity-platform/docs/reference/rest/v1/BatchDeleteAccountsResponse#BatchDeleteErrorInfo`)`` Detailed error info for accounts that cannot be deleted. |

## BatchDeleteErrorInfo

Error info for account failed to be deleted.

| JSON representation |
|---|
| ``` { "index": integer, "localId": string, "message": string } ``` |

| Fields ||
|---|---|
| `index` | `integer` The index of the errored item in the original localIds field. |
| `localId` | `string` The corresponding user ID. |
| `message` | `string` Detailed error message. |