Tokens

createToken

post

This method provides the required authentication token to perform GBDS operations.

Body
Responses
201

OK

application/json
post
POST /gbds/v2/tokens HTTP/1.1
Host: <ip>:8085
Content-Type: application/json
Accept: */*
Content-Length: 91

{
  "data": {
    "grantType": "CREDENTIALS",
    "userName": "text",
    "userPassword": "text",
    "token": "text"
  }
}
{
  "data": {
    "token": "text",
    "expirationTime": 1,
    "ttl": 1
  }
}