Private Resource

Update a site resource.

post/private-resource/{siteResourceId}

Request

  • Base URL: https://api.pangolin.net/v1
  • URL: https://api.pangolin.net/v1/private-resource/{siteResourceId}
  • Auth: HTTP bearer

Path parameters

siteResourceIdinteger required

Request body

namestring
siteIdsinteger[]
siteIdinteger
niceIdstring
mode'host' | 'cidr' | 'http' | 'ssh' | 'inference' | 'gateway'
sslboolean
scheme'http' | 'https' | 'null' nullable
destinationPortinteger nullable
destinationstring nullable
enabledboolean
aliasstring nullable

Fully qualified domain name with optional wildcards, e.g., example.internal, *.example.internal, or host-0?.example.internal

userIdsstring[]
roleIdsinteger[]
clientIdsinteger[]
tcpPortRangeStringstring

Port range string. Use "*" for all ports, a comma-separated list of ports, or ranges (e.g., "80,443,8000-9000"). Ports must be between 1 and 65535.

udpPortRangeStringstring

Port range string. Use "*" for all ports, a comma-separated list of ports, or ranges (e.g., "80,443,8000-9000"). Ports must be between 1 and 65535.

disableIcmpboolean
authDaemonPortinteger nullable
authDaemonMode'site' | 'remote' | 'native'
pamMode'passthrough' | 'push'
domainIdstring
subdomainstring

Example request

{
  "alias": "service.example.internal",
  "tcpPortRangeString": "80,443,8000-9000",
  "udpPortRangeString": "80,443,8000-9000"
}

Response

Successful response

dataobject nullable required
successboolean required
errorboolean required
messagestring required
statusnumber required

Changes

No recorded changes to this operation across all 1 revision of this API.