Skip to main content
Assign unit by email

Authorizations

Authorization
string
header
required

Personal access token. Create one in Admin β†’ Security β†’ Developer Settings β†’ Generate Personal Access Token.

Path Parameters

unitId
string
required

The unit's ID.

Body

application/json
emails
string<email>[]
required

Learner emails.

Minimum array length: 1

Response

OK

assigned
string[]

Emails of the learners the unit was assigned to.

notFound
string[]

Always empty on success.