api/docs/account/id.md

19 lines
533 B
Markdown
Raw 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.