API referenceOperators
operator_enroll
POST
/v1/operator/enrollmentsRequest body
application/json · EnrollmentRequest
| Field | Type | Required |
|---|---|---|
email | string | Yes |
initial_ownerSet up the organization's first owner. Only one owner setup can succeed. | boolean | No |
organization_id | string | Yes |
organization_nameCreate the organization first when it does not exist. | string | null | No |
roleRole of the initial membership. Ignored for an initial owner, who becomes `owner`. | string | No |
send_emailAlso email the link. Without email, give the returned link to the person directly. | boolean | No |
Responses
| Status | Description | Body |
|---|---|---|
201 | Created | EnrollmentIssued application/json |
400 | Invalid request | ErrorBody application/json |
401 | Authentication required | ErrorBody application/json |
403 | Forbidden | ErrorBody application/json |
404 | Not found | ErrorBody application/json |
409 | Conflict | ErrorBody application/json |
413 | Request too large | ErrorBody application/json |
415 | JSON content type required | ErrorBody application/json |
500 | Internal error | ErrorBody application/json |
501 | Unsupported capability | ErrorBody application/json |
503 | Provider unavailable or request timed out | ErrorBody application/json |