---
title: "Update a course assignment by id"
slug: "update-a-course-assignment-by-id"
updated: 2024-10-25T18:04:27Z
published: 2026-02-10T22:32:35Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a course assignment by id

Get/UpdateCourseAssignment

Allows you to update a course assignment.

SecurityAPI Key: api_keyHeader parameter nameapi_key

Query parametersIdinteger (int32) Required

The ID of the course assignment

Example10
ExternalIdstring

The course assignment's external ID, usually a unique identifier from the calling system

ExampleE3G5YZFREFEQ9371
CourseIdinteger (int32) Required

The Id of the course associated with this course assignment

Example10
UserIdinteger (int32) Required

The UserId of the user that is associated with this course assignment

Example10
ClubMembershipIdinteger (int32) 

The subscription (if any) associated with this course assignment

Example10
Expiresstring (date) 

When the course assignment expires (if ever) (in a string representation of the date)

Example2020-02-26
TargetCompletionDatestring (date) 

When course assignment is expected to be completed by the student (in a string representation of the date)

Example2020-02-26
Startedstring (date) 

When the course assignment was started (if ever) (in a string representation of the date)

Example2020-02-26
Completedstring (date) 

When the course assignment was completed (if ever) (in a string representation of the date)

Example2020-02-26

Responses200

OK Response

<select class='api-response-data' aria-label='Media type'><option value='92cfd434-9e3b-4973-9607-d955f815fce0'>application/json</option>
</select>object  statusinteger  (int32)    

Indicates the status of the API request.

- 0 = Success
- 10 = Error
- 20 = Not found
- 30 = Invalid integration key

Example10
errorstring   | null  

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).
