Skip to main content
PATCH
/
api
/
v1
/
learn
/
assignments
/
{assignment_id}
/
courses
Update Course Due Dates
curl --request PATCH \
  --url https://api.example.com/api/v1/learn/assignments/{assignment_id}/courses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "updates": [
    {
      "courseId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "dueDate": "2023-12-25"
    }
  ]
}
'
{
  "updatedCount": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

assignment_id
string<uuid>
required

Body

application/json

Request to update due dates on multiple courses within an assignment.

updates
UpdateCourseDueDateItemDTO · object[]
required

Response

Successful Response

Response from updating course due dates.

updatedCount
integer
required