UpdateLearningRecordRequest

A request or response body; the type column links to the schemas it refers to.

UpdateLearningRecordRequest

FieldTypeRequiredDescription
owner_department_idstring (uuid) | nullno

Move the record to another department of the same organization; null hands it to the organization directly.

learner_display_namestring | nullno

1–300 characters

learner_emailstring | nullno

1–300 characters

titlestringno

1–300 characters

descriptionstring | nullno

at most 5000 characters

statusstringno

rejected cannot be set directly — use the reject endpoint. The learner of a rejected record may set it back to pending, which resubmits it and clears the rejection.

one of "pending" | "in_progress" | "completed" | "expired" | "revoked"

completed_atstring (date-time) | nullno—
expires_atstring (date-time) | nullno—
external_idstring | nullno

1–300 characters

subject_matter_idsarray of string (uuid)no

When present, replaces the record's whole subject set.

at most 100 items

hidden_from_learnerbooleanno

Hide the record from the learner it is about: they can then read it only through records:read over the owner. Needs records:write over the owner — a self-service submission cannot be hidden — and a status other than pending or rejected.

jsonExample
{
  "owner_department_id": "1b671a64-40d5-491e-99b0-da01ff1f3341",
  "learner_display_name": "string",
  "learner_email": "string",
  "title": "string",
  "description": "string",
  "status": "pending",
  "completed_at": "2026-01-01T00:00:00.000Z",
  "expires_at": "2026-01-01T00:00:00.000Z",
  "external_id": "string",
  "subject_matter_ids": [
    "1b671a64-40d5-491e-99b0-da01ff1f3341"
  ],
  "hidden_from_learner": true
}