Admit a pending machine
POST/api/admission/:machine_id/admit
Admits a pending machine. The fingerprint must be the one that osapi agent admission get prints on the machine: it proves that the request came from the machine the operator is looking at.
Request
Responses
- 204
- 400
- 401
- 403
- 404
- 409
- 500
- 503
The machine is admitted.
The request is not valid.
Unauthorized - API key required
Forbidden - Insufficient permissions
No pending request from the machine.
The fingerprint does not match the request.
An error on the controller.
Admission is not configured: set controller.pki.enabled.