unpublish_published_course
Unpublish a course on your Skilljar domain to immediately stop learner access, while preserving enrollments, progress, and the ability to republish later.
Instructions
Take a course off a domain. Learners can no longer reach it.
`id` is the published-course id - the publication, not the course.
Sets `live` to false and FREES THE SLUG. The public URL stops working
immediately, and the slug becomes available for another course to claim.
The published course row survives, along with enrollments and learner progress.
`republish_published_course` brings it back - but see that tool: the slug is
REASSIGNED rather than restored, so the URL may differ.
This is a soft, reversible action. `delete_published_course` does the same
thing; this one is the clearer name for the intent.
Requires the `published-courses:write` OAuth scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| live | No | ||
| slug | No | ||
| course_id | No | ||
| domain_id | No | ||
| is_hidden | No | ||
| created_at | No | ||
| external_id | No | ||
| modified_at | No | ||
| open_access | No | ||
| visible_on_catalog | No | ||
| access_period_ends_at | No | ||
| access_period_starts_at | No | ||
| visibility_override_type | No | ||
| require_all_prerequisites | No | ||
| allow_self_service_reenroll | No | ||
| unique_progress_per_enrollment | No | ||
| restrict_access_start_end_dates | No | ||
| strict_enforce_group_visibility | No |