cac8702ed2aa
Update learner by id
Update a learner.
Path parameters
The unique identifier of a learner.
Request body
The unique identifier of a learner.
The learner's full name.
Status of the learner account. Active learners can access training. Deactivated and terminated learners cannot access training. Note: Learners cannot be deactivated via the API - this is exclusively managed by HRIS integrations.
The learner's unique email address.
The learner's country of employment. Three letter country code.
The learner's state of employment. Two letter state code.
Validation rules:
- Required when country is "USA"
- Must be null or omitted for all other countries
- Empty strings ("") are not allowed
Examples:
- "USA" + "NY" ✅
- "USA" + null ❌
- "CAN" + null ✅
- "CAN" + "ON" ❌ (Canadian provinces not supported)
Whether the learner is a manager.
The unique identifier of a learner.
The department the learner belongs to.
The learner's worker type.
The learner's custom category. Can be populated with any value. For example, the office or city of a learner.
The learner's language. Represented as any Unicode CLDR language documented here: https://cldr.unicode.org/
⚠️ Important: Use language codes (e.g., "en"), not language names (e.g., "English").
✅ Common valid examples:
- "en": English
- "es": Spanish
- "es-419": Spanish (Latin America)
- "es-MX": Spanish (Mexico)
- "zh": Chinese
- "zh-TW": Chinese (Taiwan)
- "zh-Hant-HK": Chinese (traditional, Hong Kong)
- "fr": French
- "de": German
❌ Common invalid examples, which will cause validation errors:
- "English" (use "en" instead)
- "Spanish" (use "es" instead)
- "Chinese" (use "zh" instead)
Example request
{
"id": "abc123def4",
"name": "First Last",
"status": "ACTIVE",
"email": "first.last@{your-domain}.com",
"country": "USA",
"state": "NY",
"isManager": true,
"managerLearnerId": "abc123def4",
"department": "Engineering",
"workerType": "Full Time",
"customCategory": "Brooklyn",
"language": "en"
}Response
No Content