Skip to main content
PUT
/
api
/
v1
/
curriculums
/
{curriculum_id}
/
courses
Replace Curriculum Courses
curl --request PUT \
  --url https://api.seamind.xyz/api/v1/curriculums/{curriculum_id}/courses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  "3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "title": "<string>",
  "description": "<string>",
  "courses": [
    {
      "courseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

curriculum_id
string<uuid>
required

Body

application/json

Response

Successful Response

Curriculum with courses for API responses.

id
string<uuid>
required
title
string
required
description
string | null
required
courses
CurriculumCourseInfoDTO · object[]
required
createdAt
string<date-time>
required