api/docs/account/delete.md

23 lines
678 B
Markdown

# `/account/delete` - DELETE
Deletes the account.
## HTTP Headers
| Header | Content |
|---------------|--------------------|
| Authorization | `Bearer {token}` |
## Content - JSON - optional
| Field | Description |
|----------|---------------------------------------------------|
| reason | The reason why you delete the account. (optional) |
## Responses
### 200 - Success
The account was deleted.
### 400 - Error: Bad Request
The request was malformed.
### 401 - Error: Unauthorized
The provided auth token doesn't allow you to perform this operation.
### 403 - Error: Forbidden
Blocked for security reasons.