Request OAuth token
Example:
    Authorization: Basic [base64({KEY}:{SECRET})]
    POST http://{GATEWAY_HOST}/api/v1/oauth/token
  
where:
{KEY} - Corresponding OAuth credentials key
{SECRET} - Secret known during OAuth credentials creation
For more details related to OAuth protocol please refer the following links: https://tools.ietf.org/html/rfc6749 https://www.oauth.com/oauth2-servers/access-tokens/
Parameters
Name  | In  | Type  | Required  | Description  | 
|---|---|---|---|---|
client_id  | query  | string  | true  | client_id  | 
client_secret  | query  | string  | true  | client_secret  | 
grant_type  | query  | string  | true  | grant_type  | 
Responses
Status  | Meaning  | Description  | 
|---|---|---|
200  | OK  | |
201  | Entity created  | |
400  | Bad Request  | |
401  | Unauthorized  | |
403  | Access Forbidden  | |
404  | Not Found  | |
406  | Not Acceptable  | |
429  | Too Many Requests  | |
500  | Internal Server Error  | 
{
  "access_token": "string",
  "expires_in": 0,
  "scope": "string",
  "token_type": "string"
}