Listing, Updating, and Deleting
Retrieve a specific tunneling policy by ID.
Path parameters
idinteger · int32Required
Tunneling policy Id
Responses
200
OK
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/TunnelingPolicy/{id} HTTP/1.1
Host:
Accept: */*
{
"id": 1,
"adminCreate": "text",
"adminLastMod": "text",
"timeCreate": "2025-07-07T17:57:12.333Z",
"timeLastMod": "2025-07-07T17:57:12.333Z",
"ip": "text",
"publishType": [
"0 = AllRDSessionHostsInSite",
"1 = RDSessionHostPool",
"2 = RDSessionHosts",
"3 = None"
],
"rdsHostPoolIds": [
1
],
"rdsHostIds": [
1
]
}
Update tunneling policy settings.
Path parameters
idinteger · int32Required
Tunneling policy ID.
Body
Modify a tunneling policy
newIPstring | nullableOptional
The gateway IP of the tunneling policy to modify.
publishTypestring · enumOptionalPossible values:
RD session hosts options
rdsHostPoolIdsinteger · int32[] | nullableOptional
The IDs of the selected RD session host pools.
rdsHostIdsinteger · int32[] | nullableOptional
The IDs of the selected individual RD session hosts.
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
put
PUT /api/TunnelingPolicy/{id} HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 156
{
"newIP": "text",
"publishType": [
"0 = AllRDSessionHostsInSite",
"1 = RDSessionHostPool",
"2 = RDSessionHosts",
"3 = None"
],
"rdsHostPoolIds": [
1
],
"rdsHostIds": [
1
]
}
No content
Last updated
Was this helpful?