Get Auth Token to Gateway

Get authentication for deployed gateway.

  • Base URL : 'https://{gateway-ip}:5480'
curl --location --request POST '[https://192.168.0.123:5480/v2/auth/token]'
  \ --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

Generates the auth token.

Request Body

application/json

  • usernamestring

  • passwordstring

Loading Examples...

Responses

  • tokenstringrequired

  • expires_instringrequired

Loading Examples...