Create Restricted Connection

Create Restricted Connection

Adds a restricted connection.

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/testConnection/restrictions
COPY
Request Body
RestrictedConnection of type(s) application/json
Optional

Show optional properties

{
    "type": "string",
    "value": "string"
}
{
    "id": "string",
    "type": "string",
    "value": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns RestrictedConnection of type(s) application/json;version=40.0
"RestrictedConnection Object"
string
id
Optional

The identifier of the restricted connection in URN format.

string
type
Required

The type of restricted connection. This can either be a domain name (DOMAIN), an IP address (IP_ADDRESS), or an IP address range (IP_RANGE).

string
value
Required

The value of the restricted connection, where the format depends on the type.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"type:"string","value:"string"}' https://{api_host}/cloudapi/1.0.0/testConnection/restrictions