docs(api): designed account deletion reason field in emdpoint
This commit is contained in:
parent
e8e25883e4
commit
291b75b34d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue