POST
/
as
/
token.oauth2
curl --request POST \
  --url https://api.auth.gbgplc.com/as/token.oauth2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'username=<string>' \
  --data 'password=<string>' \
  --data grant_type=password
{
  "access_token": "<string>",
  "expires_in": 123,
  "token_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/x-www-form-urlencoded

Response

200
application/json

Successfully retrieved access token.

The response is of type object.