enrolHub
POST/link/v1/enrol
The only hub-link call without a client certificate; authenticated by the enrolment token, which it spends. The certificate is issued by the cloud's hub CA for the CSR's key, which must be ECDSA P-256, with the hub's id as its subject's common name, valid 1 year; it replaces any earlier one, ends a revocation or decommissioning, renews the link epoch and replaces the Watch key (docs/operations.md §4).
Request
Responses
- 201
- 401
- 422
- 426
Client certificate and link parameters
enrolment.token_invalid: unknown, used or expired, or the tenant is being deleted
request.invalid: the CSR doesn't verify or its key is not ECDSA P-256, or watch_key is not an Ed25519 public key
hub.update_required: the hub's version is outside the versions the cloud accepts. Nothing was applied; the hub raises a self-alert and uses its local fallback channel (docs/architecture.md §5).