Organization API: Customer Portal: Account
The 1 Organization API operations for account.
Part of Customer Portal.
Operations
Section titled Operations| Method | Path | Summary |
|---|---|---|
| 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
Section titled Close and anonymise the signed-in customer's own accountPOST /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
Section titled Parameters| Name | In | Type | Required |
|---|---|---|---|
org_slug |
path | string | yes |
Request body
Section titled Request bodyapplication/json (required)
| Field | Type | Required |
|---|---|---|
password |
string or null | no |
reauth_token |
string or null | no |
reason |
string or null | no |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |