# Organization API: Customer Portal: Account

> The 1 Organization API operations for account.

Source: https://www.coritan.com/docs/api/reference/organizations/customer-portal/account/

Part of [Customer Portal](/docs/api/reference/organizations/customer-portal/).

## Operations

| Method | Path | Summary |
| --- | --- | --- |
| POST | [`/api/v1/orgs/{org_slug}/portal/account/close`](#op-post-api-v1-orgs-org-slug-portal-account-close) | Close and anonymise the signed-in customer's own account |

### Close and anonymise the signed-in customer's own account {#op-post-api-v1-orgs-org-slug-portal-account-close}

`POST /api/v1/orgs/{org_slug}/portal/account/close`

Close and anonymise the signed-in customer's own account.

Irreversible, so identity is re-confirmed even though the request is
already authenticated: a session left open on a shared machine should not be
enough to erase somebody's account. Password accounts re-type their
password; social accounts complete an OAuth step-up and send the token.

#### Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| `org_slug` | path | string | yes |

#### Request body

`application/json` (required)

| Field | Type | Required |
| --- | --- | --- |
| `password` | string or null | no |
| `reauth_token` | string or null | no |
| `reason` | string or null | no |

#### Responses

| Status | Meaning |
| --- | --- |
| `200` | Success. |
| `422` | The request is not valid. `detail` lists each problem. |
