Secondary Connections

List

get

Retrieve the list of secondary connections of the specified client policy with ID.

Path parameters
idinteger · int32Required

Client Policy ID.

Responses
200
Success
application/json; api-version=1.0
get
GET /api/ClientPolicies/{id}/SecondaryConnections HTTP/1.1
Host: 
Accept: */*
[
  {
    "mode": [
      "0 = GatewayMode",
      "1 = DirectMode",
      "2 = GatewaySSLMode",
      "3 = DirectSSLMode"
    ],
    "server": "text",
    "serverPort": 1
  }
]

Add

post

Add a connection to the list of secondary connections of the specified client policy with ID.

Path parameters
idinteger · int32Required

Client Policy ID.

Body

Add a new connection to the secondary connections list

modestring · enumRequired

Mode Type.

Possible values:
serverstring | nullableRequired

The Server which the user is going to connect to.

serverPortinteger · int32Required

The port of the Server.

Responses
201
Created
post
POST /api/ClientPolicies/{id}/SecondaryConnections HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 117

{
  "mode": [
    "0 = GatewayMode",
    "1 = DirectMode",
    "2 = GatewaySSLMode",
    "3 = DirectSSLMode"
  ],
  "server": "text",
  "serverPort": 1
}

No content

Delete

delete

Delete a connection to the list of secondary connections of the specified client policy with ID.

Path parameters
idinteger · int32Required

Client Policy ID.

Body

Remove a connection from the secondary connections list

modestring · enumRequired

Mode Type.

Possible values:
serverstring | nullableRequired

The Server which the user is going to connect to.

serverPortinteger · int32Required

The port of the Server.

Responses
204
No Content
delete
DELETE /api/ClientPolicies/{id}/SecondaryConnections HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 117

{
  "mode": [
    "0 = GatewayMode",
    "1 = DirectMode",
    "2 = GatewaySSLMode",
    "3 = DirectSSLMode"
  ],
  "server": "text",
  "serverPort": 1
}

No content

Was this helpful?