Skip to main content
Update the profile of a given nmconnection
curl --request POST \
  --url http://localhost/api/network/update_connection_profile \
  --header 'Content-Type: application/json' \
  --data '
{
  "ip_addresses": [
    {
      "address": "<string>",
      "prefix": 123
    }
  ],
  "gateway": "<string>",
  "method": "unknown",
  "dns": [
    "<string>"
  ],
  "never_default": true
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.dwe.ai/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

path
string
required

Body

application/json
ip_addresses
IPV4Address · object[] | null
gateway
string | null
method
enum<string>
default:unknown
Available options:
manual,
auto,
unknown
dns
string[] | null
never_default
boolean | null

Response

Successful Response

The response is of type Response Update Connection Profile Api Network Update Connection Profile Post · object.