POST
https://api.examplary.ai/reseller/orgs/{orgId}/usersAdds a teacher, admin or student, and emails them an invite when sendInvite is true.
Path parameters
orgIdstringrequired
Request body
emailstring· emailrequired
namestring· min length: 1· max length: 100
The user's full name. Ignored when first or last name is set.
firstNamestring· max length: 100
The user's first name
lastNamestring· max length: 100
The user's last name
rolestring· default: teacher
Allowed values:adminteacherstudentmember
sendInviteboolean· default: false
Whether to send an invitation email. Defaults to false.
metadataobject
Responses
400 — Validation Error
successbooleanrequired
Allowed values:false
errorarray any[]required
dataanyrequired
Requirements
OAuth scopes
This endpoint requires the reseller:write scope to be present.