Public Resource

Update a resource. Policy fields (sso, mfa, pincode, password, whitelist) update the inline policy when no shared resource policy is assigned; when a shared policy is assigned those fields override the shared policy for this resource only.

post/public-resource/{resourceId}

Request

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

Path parameters

resourceIdinteger required

Request body

namestring
niceIdstring
subdomainstring nullable
sslboolean
ssoboolean

When no shared resource policy is assigned (resourcePolicyId is null), updates the resource's inline policy. When a shared policy is assigned, this value overrides the shared policy for this resource.

blockAccessboolean
emailWhitelistEnabledboolean

When no shared resource policy is assigned (resourcePolicyId is null), updates the resource's inline policy. When a shared policy is assigned, this value overrides the shared policy for this resource.

applyRulesboolean

When no shared resource policy is assigned (resourcePolicyId is null), updates the resource's inline policy. When a shared policy is assigned, this value overrides the shared policy for this resource.

domainIdstring
enabledboolean
stickySessionboolean
tlsServerNamestring nullable
setHostHeaderstring nullable
skipToIdpIdinteger nullable

When no shared resource policy is assigned (resourcePolicyId is null), updates the resource's inline policy. When a shared policy is assigned, this value overrides the shared policy for this resource.

maintenanceModeEnabledboolean
maintenanceModeType'forced' | 'automatic'
maintenanceTitlestring nullable
maintenanceMessagestring nullable
maintenanceEstimatedTimestring nullable
postAuthPathstring nullable
pamMode'passthrough' | 'push'
authDaemonMode'site' | 'remote' | 'native'
authDaemonPortinteger nullable
resourcePolicyIdnumber nullable

ID of the resource policy to apply to this resource. Set to null to remove the resource policy and fall back to the inline policy settings.

proxyPortinteger
proxyProtocolboolean
proxyProtocolVersioninteger

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.