Skip to main content
AssignmentVersion: v3New

Update Assignment

PUT/courses/products/{productId}/assignments/{assignmentId}

Update an assignment. Requires a Location token with courses.write. Send Version: v3.

Authorizations

Authorizationstringheaderrequired

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

Scope:courses.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

productIdstring<uuid>required

Product id

Possible values: non-empty

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
assignmentIdstring<uuid>required

Assignment id

Possible values: non-empty

Example:e5f6a7b8-9012-4345-ef01-345678901234

Query Parameters

locationIdstringrequired

Location id or sub-account id is required.

Possible values: non-empty

Example:ve9EPM428h8vShlRW1KT

Body

titlestring

Assignment title

introductionstring

Introduction shown to the learner

confirmMessagestring

Message shown after submit

ungradedAssignmentboolean

Skip grading when true

Response

Success

idstringrequired
Example:e5f6a7b8-9012-4345-ef01-345678901234
titlestringrequired
Example:Submit homework
lessonIdstringrequired
Example:c3d4e5f6-7890-4123-cdef-123456789012
introductionstringrequired
confirmMessagestringrequired
ungradedAssignmentbooleanrequired