Skip to main content

Block host

POST /v1/hosts/:hostID/block

Prevent a host from being able to interact with other nodes on your network. See https://www.defined.net/blog/blocklisting/ for more details.

To unblock, re-enroll the host.

Token scope required: hosts:block

Request

Path Parameters
  • hostID string required
    Example: host-24NVITKMNU3CYCEDNFWKAOBX7I
Responses

Successful operation

Schema
  • data object
  • host 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...