Generate new access token
Resource URL
Cluster | URL |
---|---|
Australia | https://api.bbamastro.com/auth |
US | https://api-us.bbamastro.com/auth |
UK | https://api-uk.bbamastro.com/auth |
Parameters
Name | Type |
---|---|
password | string |
username | string |
grant_type | “password” |
scope | “write“ |
client_secret | string |
client_id | string |
reseller_id | number |
Authorization
Basic Auth (Required)
Responses
HTTP Code | Description | Schema |
---|---|---|
200 | OK | |
201 | Created | No Content |
401 | Unauthorized | No Content |
403 | Forbidden | No Content |
404 | Not Found | No Content |
Definitions
mykey
Type: apiKey
Name: Authorization
In: HEADER
OAuth2AccessToken
Name | Schema |
---|---|
expiration optional | string (date-time) |
expired optional | boolean |
expiresIn optional | integer (int32) |
refreshToken optional | |
scope optional | < string > array |
tokenType optional | string |
value optional | string |
OAuth2RfreshToken
Name | Schema |
---|---|
value optional | string |