Create join token
POST
/api/v1/admin/tokens
Create a join token for a node. Returns 409 if the node already exists, is currently connected, or has a pending token.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
nodeId
string
ttlSeconds
integer format: int32
ttl
string
Responses
Section titled “ Responses ”Join token created
object
tokenId
string
token
string
nodeId
string
expiresAt
string
Bad request
object
error
object
code
string
message
string
status
required
integer format: int32
Unauthorized
object
error
object
code
string
message
string
status
required
integer format: int32
Forbidden
object
error
object
code
string
message
string
status
required
integer format: int32
Node already exists, connected, or has pending token
object
error
object
code
string
message
string
status
required
integer format: int32