api/docs/account/id.md

21 lines
590 B
Markdown
Raw Permalink Normal View History

# `/account/id` - GET
Returns identity information about the authorized account.
## HTTP Headers
| Header | Content |
|---------------|--------------------|
| Authorization | `Bearer {token}` |
## Responses
### 200 - Success
__Content - JSON:__
| Field | Description |
|----------|---------------------------|
| id | The accounts unique id. |
| username | The projects unique name. |
### 401 - Error: Unauthorized
The provided access token doesn't allow you to perform this operation.
### 403 - Error: Forbidden
Blocked for security reasons.