Set App Postgres External

Toggle the app-wide external Postgres access opt-in.

Default-closed and per project. When enabled, every channel of the app becomes reachable over the public TLS endpoint; disabling it closes all of them immediately. Cross-user callers get 404.

post/apps/{app_id}/postgres/external

Request

  • Base URL: https://api.xhostd.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.xhostd.com/apps/{app_id}/postgres/external
  • Auth: none declared

Path parameters

app_idstring uuid required

Headers

authorizationstring nullable

Request body

enabledboolean required

Response

Successful Response

idstring uuid required
namestring required
repo_urlstring required
templatestring required
created_atstring date-time required
external_db_access_enabledboolean required
external_blob_access_enabledboolean required
port_forwarding_enabledboolean required
port_forwarding_availableboolean required
agent_protected_actions_enabledboolean nullable required
agent_protected_actions_effectiveboolean required
owner_usernamestring required
rolestring required

Changes

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