Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Generate new access token

Resource URL

Cluster

URL

Australia

https://api.bbamastro.com

...

Parameters

...

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

OAuth2AccessToken

201

Created

No Content

401

Unauthorized

No Content

403

Forbidden

No Content

404

Not Found

No Content

...

Definitions

mykey

Type: apiKey

...

In: HEADER

OAuth2AccessToken

Name

Schema

expiration

optional

string (date-time)

expired

optional

boolean

expiresIn

optional

integer (int32)

refreshToken

optional

OAuth2RefreshToken

scope

optional

< string > array

tokenType

optional

string

value

optional

string

OAuth2RfreshToken

Name

Schema

value

optional

string