settings

Update network settings

Updates network settings with the provided values.

post/settings/network

Request

  • Base URL: http://localhost:5055/api/v1
  • URL: http://localhost:5055/api/v1/settings/network
  • Auth: one of:
    • API key in cookie connect.sid
    • API key in header X-Api-Key

Request body

csrfProtectionboolean
forceIpv4Firstboolean
trustProxyboolean

Example request

{
  "proxy": {
    "port": 8080,
    "bypassLocalAddresses": true
  },
  "dnsCache": {
    "forceMaxTtl": -1
  }
}

Response

Values were sucessfully updated

csrfProtectionboolean
forceIpv4Firstboolean
trustProxyboolean

Example response

{
  "proxy": {
    "port": 8080,
    "bypassLocalAddresses": true
  },
  "dnsCache": {
    "forceMaxTtl": -1
  }
}

Changes

No recorded changes to this operation across all 21 revisions of this API.