Private Resource

Create a new site resource.

put/org/{orgId}/private-resource

Request

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

Path parameters

orgIdstring required

Request body

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

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

userIdsstring[] required
roleIdsinteger[] required
clientIdsinteger[] required
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
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.