Create enrollment code
POST/v1/hosts/:hostID/enrollment-code
Obtain a code that can be used with the dnclient enroll command on a host, lighthouse, or relay to enroll it into your Managed Nebula network.
It is not possible to enroll a host that is blocked, it must first be unblocked using the unblock endpoint.
Token scope required: hosts:enroll
Request
Responses
- 200
Successful operation