Ethiack Docs
Organizations

Update an organization's beacon

PATCH
/v1/organizations/{organization_id}/beacons/{beacon_id}

Update a beacon belonging to an organization.

Scoped to organization and partner integrators. Changes to the CIDR or DNS settings re-patch the stored client configurations.

AuthorizationBearer <token>

An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.

In: header

Path Parameters

organization_id*integer
beacon_id*integer

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://api.ethiack.com/v1/organizations/0/beacons/0" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "allowed_cidrs": [      "string"    ],    "dns_server": "string"  }'
{
  "id": 0,
  "name": "string",
  "status": 0,
  "last_seen": "2019-08-24T14:15:22Z",
  "created": "2019-08-24T14:15:22Z",
  "allowed_cidrs": [
    "string"
  ],
  "dns_server": "string",
  "interface_name": "string",
  "version": 0,
  "beacon_token": "string",
  "rathole_server": "string",
  "rathole_public_port": 0,
  "rathole_control_port": 0
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}