# Delete account

Endpoint: DELETE /accounts/{id}
Version: 1.0.0
Security: Api access

## Security:

  - `Api access` (unknown)
    oauth2 scopes: services.banking, api

## Path parameters:

  - `id` (string, required)
    The id of the account to delete.

## Header parameters:

  - `PSU-IP-Address` (string)
    IP Address of the PSU, it should only be set if this request was actively initiated by the PSU.
Most operations have request limits that apply when a user is not present.

  - `Consent-ID` (string)
    The consent id. Should be set unless a specific Subscription-Id is used.

  - `Channel-Type` (string)
    The banking channel.

  - `Subscription-Id` (string)
    Id of the subscription to use. Only supported for Channel-Type `openBanking`.

  - `Resource-Group-Name` (string)
    Name of the resource group to use in the specified subscription. Only supported for Channel-Type `openBanking`

  - `Scopes` (array)
    Resource scopes to use, mutually exclusive with `subscriptionId`.
- `/`
: Use all resources available.
- `/subscriptions/7fdf00601dfb`
: Use all resources in subscription 7fdf00601dfb.
- `/subscriptions/7fdf00601dfb/resource-groups/my-company`
: Use all resources within subscription 7fdf00601dfb and resource-group my-company.

  - `api-version` (string)

## Response 202:

  - `202` (unknown)
    Accepted

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 401 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 403:

  - `403` (unknown)
    Forbidden

## Response 403 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (null | string)

  - `title` (null | string)

  - `status` (null | integer)

  - `detail` (null | string)

  - `instance` (null | string)

