Organizations
Create an organization beacon
Provision a beacon for an organization.
Scoped to organization and partner integrators. Reserves a rathole port and generates a WireGuard configuration; the response carries the server configuration, which is returned exactly once here and never persisted or retrievable again.
AuthorizationBearer <token>
An API key created in Portal → Settings → API, sent as Authorization: Bearer <key>.
In: header
Path Parameters
organization_id*integer
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.ethiack.com/v1/organizations/0/beacons/" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "allowed_cidrs": [ "string" ], "dns_server": "string", "interface_name": "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,
"wireguard_config": "string",
"rathole_control_port": 0
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}