Skip to main content

Edit host

PUT /v2/hosts/:hostID

Token scope required: hosts:update

caution

Any properties not provided in the request will be reset to their default values. Be sure to include all current values you don't want to change, including tags and configOverrides.

Request

Path Parameters
  • hostID string required
    Example: host-24NVITKMNU3CYCEDNFWKAOBX7I
Request Body required
  • name string

    Possible values: non-empty and <= 255 characters

    Name of the host

  • roleID string nullable

    ID of the role you want to assign

  • staticAddresses address:port[]

    List of static IPv4:port/hostname:port addresses. At least one is required if isLighthouse is true.

  • listenPort integer

    Possible values: <= 65535

    The UDP port nebula should use on the host. An available port will be automatically selected if 0 is specified. Required for lighthouses and relays.

  • tags key:value[]
  • configOverrides object[]

    List of config overrides for the nebula config

  • Array [
  • anyOf
  • key string required

    Possible values: [lighthouse.dns.host]

  • value string required
  • ]
Responses

Successful operation

Schema
  • data object
  • id string
  • organizationID string
  • networkID string
  • roleID string nullable
  • name string
  • ipAddress ipv4
  • staticAddresses address:port[]
  • listenPort int64

    Will be zero if a regular host

  • isLighthouse boolean

    Default value: false

  • isRelay boolean

    Default value: false

  • createdAt date-time
  • isBlocked boolean

    Default value: false

  • metadata object
  • lastSeenAt string nullable
  • version string nullable
  • platform string nullable

    Possible values: [dnclient, mobile, null]

  • updateAvailable boolean nullable
  • tags key:value[]
  • configOverrides object[]

    List of config overrides for the nebula config

  • Array [
  • anyOf
  • key string required

    Possible values: [lighthouse.dns.host]

  • value string required
  • ]
  • metadata object
  • Loading...