Create a learner
create_userDestructive
WRITE: create a new LEARNER account in the portal (TalentLMS may email the user, depending on the portal's settings). The user type is always the portal's built-in Learner-Type; this tool cannot create administrators, instructors or any other type (the portal's default type is never used, since it may be an admin type). If the portal has no type named Learner-Type, the tool refuses. Returns the new user's id and type. POST /api/v2/users.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | First name. | |
| Yes | Email address. | ||
| login | Yes | Username (must be unique in the portal). | |
| locale | No | Locale, e.g. en-US. | |
| surname | Yes | Last name. | |
| password | Yes | Initial password (the portal's password rules apply). | |
| timezone | No | IANA timezone, e.g. Europe/Athens. | |
| description | No | Short bio. | |
| deactivation_date | No | Date the account becomes inactive automatically (YYYY-MM-DD). | |
| email_notifications | No | Whether the user receives email notifications. |