2023-08-18 16:05:12 +00:00
|
|
|
# `/account/verify` - POST
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
Verifies a requested account.
|
|
|
|
|
|
|
|
## HTTP Headers
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
| Header | Content |
|
|
|
|
|--------------|--------------------|
|
|
|
|
| Content-Type | `application/json` |
|
|
|
|
|
|
|
|
## Content - JSON
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
| Field | Description |
|
|
|
|
|-------|--------------------------------------------------------------------------------|
|
|
|
|
| token | The verification token you received via an email after requesting the account. |
|
|
|
|
|
|
|
|
## Responses
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
### 200 - Success
|
2023-10-08 11:31:23 +00:00
|
|
|
|
|
|
|
The account was verified.
|
|
|
|
|
|
|
|
| Field | Description |
|
|
|
|
|-------|--------------------------------------------------|
|
|
|
|
| token | An authorization token for the verified account. |
|
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
### 400 - Error: Bad Request
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
The request was malformed.
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
### 403 - Error: Forbidden
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
Blocked for security reasons.
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
### 404 - Error: Forbidden
|
2023-10-08 11:31:23 +00:00
|
|
|
|
2023-08-18 16:05:12 +00:00
|
|
|
The provided token is unknown.
|