Network Download Api Token

Network Download Api Token

Generates an API token (a JWT) which may be passed to the Orchestrator in an HTTP Authorization header on future API requests in order to authenticate the current user (e.g. Authorization: Token: ). An API token may be downloaded only once.

Privileges required:

READ OPERATOR_TOKEN

Request
URI
POST
https://{api_host}/portal/rest/network/downloadApiToken
COPY
Request Body
{
    "id": 0
}
integer
id
Required

id

Responses
200

Request was successfully processed

Returns api_token_download_api_token_result of type(s) application/json
This response body class contains all of the following: Inlineapi_token_download_api_token_result0
{
    "token": "string"
}

400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"id:"integer"}' https://{api_host}/portal/rest/network/downloadApiToken