POST
/v1/courses/{id}/restore
curl \
--request POST 'https://localhost/v1/courses/cls_xxxxxxxx/restore'
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (200)
{
"id": "cls_123123123123",
"companyId": "co_123123123123",
"seasonId": "sea_123123123123",
"seasonName": "Winter 2024",
"firstLessonStartDate": "2023-12-05",
"lastLessonEndDate": "2023-12-05",
"name": "All That Jazz",
"type": "enrolment",
"is_recurring": true,
"dayOfWeek": "monday",
"startTime": "10:00",
"durationInMinutes": 60,
"price": 50,
"image": "https://",
"description": "Description",
"roomId": "rm_123123123123",
"staffId": "stf_123123",
"minAgeMonths": 2,
"maxAgeMonths": 5,
"capacity": 20,
"colorId": "red",
"archivedAt": "2023-12-05 14:30:41",
"deletedAt": "2023-12-05 14:30:41"
}