docs(api): designed account deletion reason field in emdpoint

This commit is contained in:
antifallobst 2023-08-19 00:01:43 +02:00
parent e8e25883e4
commit 291b75b34d
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 7 additions and 0 deletions

View File

@ -6,9 +6,16 @@ Deletes the account.
|---------------|--------------------| |---------------|--------------------|
| Authorization | `Bearer {token}` | | Authorization | `Bearer {token}` |
## Content - JSON - optional
| Field | Description |
|----------|---------------------------------------------------|
| reason | The reason why you delete the account. (optional) |
## Responses ## Responses
### 200 - Success ### 200 - Success
The account was deleted. The account was deleted.
### 400 - Error: Bad Request
The request was malformed.
### 401 - Error: Unauthorized ### 401 - Error: Unauthorized
The provided auth token doesn't allow you to perform this operation. The provided auth token doesn't allow you to perform this operation.
### 403 - Error: Forbidden ### 403 - Error: Forbidden