v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBCourses
Archive or restore a course
🔑
Required OAuth scope: courses:write.
Archives or restores a course. Archiving a course doesn't remove it from paths where it is included. It simply prevents the course from being added to new paths. The archived course will still be accessible in existing paths, but it will be hidden from search results. Statistics are kept and not deleted.
put/api/v2/courses/{courseId}/archive
Path parameters
courseIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the course.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Response
Returns the updated course.
Example response
{
"name": "Employee Onboarding",
"authorId": "507f1f77bcf86cd799439011",
"groupId": "507f1f77bcf86cd799439011",
"coAuthorIds": [
"507f1f77bcf86cd799439011"
],
"description": "This course will teach you how to onboard a new employee!",
"_id": "507f1f77bcf86cd799439011",
"translations": [
{
"lang": "fr",
"translatorIds": [
"507f1f77bcf86cd799439011"
],
"translatedFields": {
"name": "Accueil des employés",
"description": "Ce module vous apprend à intégrer un nouveau collaborateur !"
}
}
],
"externalPlatform": "Udemy"
}