Account
Account routes of the Pagebread API: 1 operation, with parameters, schemas and authentication.
DELETE /api/v2/account
Delete the caller's own account (040 M10). An organization that would be left empty goes with it; the last owner of one with colleagues or data is refused.
Authentication: Bearer token
Responses
204 Deleted
No body.
401 Unauthenticated
| Field | Type | Description |
|---|---|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object |
403 REAUTHENTICATION_REQUIRED: the session's last sign-in is older than 5 minutes (review R-M7)
| Field | Type | Description |
|---|---|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object |
409 ACCOUNT_OWNS_ORGANIZATION
| Field | Type | Description |
|---|---|---|
jsonapi required | object | |
version required | string | |
errors required | array<object> | |
status required | string | |
code required | string | |
title required | string | |
detail | string | |
source | object | |
pointer | string | |
parameter | string | |
meta | object |