Get Token

Get Token

Get a token

Request
URI
GET
https://vcportal.velocloud.net//api/sase-licensing/v1/auth/generateToken
COPY
Responses
200

A token

Returns generateTokenResponse of type(s) application/json
{
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlblV1aWQiOiI3M2JhNTAyOS01NGE3LTRlMjUtYjZmYS02ZWQ3MTljMTFjYjMiLCJleHAiOjE2Mjk1ODMzMzgsInV1aWQiOiI1Y2VlZDg5NC03ZTkxLTExZWEtOTI0ZS0wMjQyYWMxMTAwMDIiLCJpYXQiOjE1OTgwNDczMzd9.uxZhhGeupgkImKqRP3jA4_yL1nbqg_wHvM7vOJr",
    "exp": 1629583337
}
string
token
Required

token

integer
exp
Required

exp


400

invalid input

Returns httpResponseError of type(s) application/json
{
    "code": "string",
    "errors": [
        {
            "message": "error",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, DUPLICATE_ENTITY, VCO_API_ERROR, VCO_API_DUPLICATE_ENTERPRISE, VCO_API_NOT_FOUND, VCO_INVALID_CREDENTIALS, PONCHO_API_ERROR,
array of object
errors
Required

errors


500

server internal error

Returns httpResponseError of type(s) application/json
{
    "code": "string",
    "errors": [
        {
            "message": "error",
            "path": "object.path"
        }
    ]
}
string
code
Required

code

Possible values are : INTERNAL_ERROR, INVALID_PARAMS, DUPLICATE_ENTITY, VCO_API_ERROR, VCO_API_DUPLICATE_ENTERPRISE, VCO_API_NOT_FOUND, VCO_INVALID_CREDENTIALS, PONCHO_API_ERROR,
array of object
errors
Required

errors