Skip to main content
POST
Create an edge and generate its static token (shown once)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Organization-Id
string

ID da organização para contexto (opcional). Quando presente, filtra recursos da org.

Body

application/json
name
string
required

Nome do edge (ex: casa-1)

location
enum<string>
required
Available options:
cloud,
home
kind
enum<string>
Available options:
integration,
automation

Response

Edge created. edge_token is returned only once.

edge
object
edge_token
string

Token estático mostrado uma única vez. Guarde no .env do worker.