Publish Course

Makes the course live by setting published_at. Pass an optional future published_at to schedule the publish; omit it (or leave it blank) to publish immediately. A published_at in the past is rejected.
By default this publishes only the course record. To publish a brand-new course in one step, pass publish_sections_and_lessons: true. Before the 200 OK response, the requested publish timestamp is set on the course, every eligible unpublished non-root section, and all unpublished or scheduled lessons underneath it. Drip and blocked section gates remain in effect. Section publish actions may still perform follow-up work asynchronously, and each records how many lessons it published in published_lessons_count. Otherwise sections and lessons stay draft until published via the Courses::Sections::PublishAction resource.
Returns 422 if published_at is supplied but is not a valid ISO 8601 datetime, or if it is in the past.
See Publishing in the Courses Skill for the publish paths.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
date-time

Optional ISO 8601 datetime at which the course should become live. Must be now or in the future — a past datetime is rejected with a 422. Omit or leave blank to publish immediately.

boolean

When true, sets the requested publish timestamp on the course, every eligible unpublished non-root section, and all unpublished or scheduled lessons before returning the response. Drip and blocked section gates remain in effect. Section publish actions may continue follow-up processing asynchronously. Use this for a one-step publish of a new course. Defaults to false.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json