createRelayEnrolToken
POST/api/v1/relay-enrol-tokens
Issues a one-time relay enrolment token, valid 24 h, for a relay of the name given; creates the hub's relay CA with the first one.
Request
Responses
- 201
- 403
- 409
The token value, shown once
hub.limit_exceeded: the hub has as many relays enrolled as its relays limit
relay.exists: a relay of that name is enrolled