api/docs/account/deactivate.md

20 lines
545 B
Markdown
Raw Normal View History

# `/account/deactivate` - POST
Deactivates the account.
By that the account isn't existing in the public,
until you reactivate it.
## HTTP Headers
| Header | Content |
|---------------|--------------------|
| Authorization | `Bearer {token}` |
## Responses
### 200 - Success
The account was deactivated.
### 208 - Already Reported
The account is already deactivated.
### 401 - Error: Unauthorized
The provided auth token doesn't allow you to perform this operation.
### 403 - Error: Forbidden
Blocked for security reasons.