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"
}
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
Availability
Added in 40.0
Test Connection Restrictions Operations
GET
Query Restricted Connections
POST
Create Restricted Connection
GET
Get Restricted Connection
PUT
Update Restricted Connection
DELETE
Delete Restricted Connection