...
Account Owner, Account Administrators, Department Administrators, or custom roles with the 'Can edit' access to the content item.
Department Administrators and users with a custom role can edit the statuses of the courses assigned to the users belonging to the departments they manage and their sub-departments.
...
| Parameter | Type | Description |
|---|---|---|
| token (required) | string | Access token. You can obtain a token by making a request |
| courseId (required) | string | The ID of the course whose status you would like to edit |
| enrollmentIds (required) | string | The IDs of one or more enrollments whose progress you would like to reset |
| date (required if the course status is being changed to Completed) | string | The course completion date |
| reason (optional) | string | The reason why you want to change the course status |
| status (required) | string | The status you would like to assign to the course
|
...