Skip to content

Get a port forwarding

Request

Requires virtual-networks::read permission.

Security
JWTAuthorizer
Path
portForwardingIDstringrequired

Port forwarding ID

networkNamestringrequired

Network name

domainNamestringrequired

Domain name

curl -i -X DELETE \
  'https://apidocs.trustgrid.io/_mock/v2/domain/{domainName}/network/{networkName}/port-forwarding/{portForwardingID}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
uidstring

Unique identifier (UUID)

serviceNamestring

Name of the service being forwarded

nodeNamestring

Name of the node receiving forwarded traffic

ipstring

Node IP address traffic is forwarded to

portinteger

Port number traffic is forwarded to

networkNamestring

Virtual network this rule belongs to

domainNamestring

Domain this rule belongs to

orgIdstring

Organization ID

typestring

Object type discriminator

Example:"PortForward"
Response
{ "uid": "string", "serviceName": "string", "nodeName": "string", "ip": "string", "port": 0, "networkName": "string", "domainName": "string", "orgId": "string", "type": "PortForward" }