API reference
Account
The account that owns the API key.
- Retrieve the account
GET /v1/account
Retrieve the account
GET/v1/account
Requires a secret key with the read scope.
Request
curl "https://api.newhost.co.za/v1/account" \
-H "Authorization: Bearer sk_live_..."Response
{
"data": {
"id": "clx8usr0001",
"email": "[email protected]",
"name": "Acme Dev",
"company": "Acme (Pty) Ltd",
"walletBalance": "250.00",
"key": {
"name": "CI server",
"scopes": [
"read",
"deploy"
]
}
}
}