Generate Gateway Access Token

Generates an access token on the gateway.

curl --location --request POST '[https://192.168.0.123:5480/api/v2/apiTokenGen]'
  \ --form 'username="admin"'
  \ --form 'password="Pass@1234'

An access token is needed to:

  • Register the gateway.
  • Use all gateway-related activities.
  • Provides a secured connectivity with OpsRamp cloud

This operation has been deprecated.

Request Body

application/json

  • usernamestring

  • passwordstring

Loading Examples...

Responses

  • tokenstring

  • expires_instring

Loading Examples...