Open Enterprise
Browse topics
API referenceOperators

operator_enroll

POST/v1/operator/enrollments

Request body

application/json · EnrollmentRequest

FieldTypeRequired
emailstringYes
initial_owner

Set up the organization's first owner. Only one owner setup can succeed.

booleanNo
organization_idstringYes
organization_name

Create the organization first when it does not exist.

string | nullNo
role

Role of the initial membership. Ignored for an initial owner, who becomes `owner`.

stringNo
send_email

Also email the link. Without email, give the returned link to the person directly.

booleanNo

Responses

StatusDescriptionBody
201CreatedEnrollmentIssued application/json
400Invalid requestErrorBody application/json
401Authentication requiredErrorBody application/json
403ForbiddenErrorBody application/json
404Not foundErrorBody application/json
409ConflictErrorBody application/json
413Request too largeErrorBody application/json
415JSON content type requiredErrorBody application/json
500Internal errorErrorBody application/json
501Unsupported capabilityErrorBody application/json
503Provider unavailable or request timed outErrorBody application/json

Search documentation