enroll

Function enroll 

Source
pub(in server) async fn enroll(
    __arg0: State<Arc<AppState>>,
    __arg1: Json<EnrollRequest>,
) -> Result<Json<EnrollResponse>, StatusCode>
Expand description

POST /v1/enroll - bootstrap a new fleet host (no mTLS; auth via bootstrap-token signature).