api/docs/account/verify.md

37 lines
903 B
Markdown
Raw Normal View History

# `/account/verify` - POST
2023-10-08 11:31:23 +00:00
Verifies a requested account.
## HTTP Headers
2023-10-08 11:31:23 +00:00
| Header | Content |
|--------------|--------------------|
| Content-Type | `application/json` |
## Content - JSON
2023-10-08 11:31:23 +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
### 200 - Success
2023-10-08 11:31:23 +00:00
The account was verified.
| Field | Description |
|-------|--------------------------------------------------|
| token | An authorization token for the verified account. |
### 400 - Error: Bad Request
2023-10-08 11:31:23 +00:00
The request was malformed.
2023-10-08 11:31:23 +00:00
### 403 - Error: Forbidden
2023-10-08 11:31:23 +00:00
Blocked for security reasons.
2023-10-08 11:31:23 +00:00
### 404 - Error: Forbidden
2023-10-08 11:31:23 +00:00
The provided token is unknown.