Skip to main content
POST
/
api
/
v1
/
cluster
/
join
Join cluster as a new node
curl --request POST \
  --url https://api.example.com/api/v1/cluster/join \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "csr_pem": [
    123
  ],
  "name": "<string>",
  "peer_urls": [
    "<string>"
  ]
}
'
{
  "ca_cert": [
    123
  ],
  "cert_pem": [
    123
  ],
  "cluster": "<string>",
  "member_id": 123
}

Headers

Authorization
string
required

Bearer JOIN_TOKEN

Body

application/json

Join request with CSR

csr_pem
integer[]
name
string
peer_urls
string[]

Response

OK

ca_cert
integer[]
cert_pem
integer[]
cluster
string
member_id
integer