Test Access Token And Proxy

Test Access Token And Proxy

Testing access token and proxy (if any).

Request
URI
PUT
https://umip/api/v1/test_proxy
COPY
Request Body

Testing cloud connectivity with a given access token (from the VCF Business Services Console) and proxy configuration (if applicable). This is the second step in initialization wizard flow step after accepting data usage.

TestProxyAndAccessTokenRequest of type(s) application/json
Required

Show optional properties

{
    "type": "string",
    "accessToken": "string"
}
{
    "type": "string",
    "accessToken": "string",
    "host": "string",
    "port": 0,
    "user": "string",
    "password": "string"
}
string
type
Required

Type of the proxy. Select none for direct communication with the cloud.

Possible values are : none, http, https,
string
accessToken
Required

Access Token from the current agent registration process from VCF Business Services console.

string
host
Optional

Proxy's host.

integer
port
Optional

Proxy's port.

string
user
Optional

Proxy's username if authentication is required.

string
password
Optional

Proxy's password if authentication is required.

Authentication
This operation uses the following authentication methods.
Responses
202
Returns TestAccessTokenAndProxyResponse of type(s) application/json
Operation doesn't return any data structure

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

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"type:"string","accessToken:"string"}' https://{api_host}/api/v1/test_proxy