ghl_course_delete_assignment
Delete a course assignment using product and assignment IDs. Requires a sub-account token with courses.write scope.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Delete Assignment Delete an assignment. Requires a Location token with courses.write. Send Version: v3. Endpoint: DELETE /courses/products/{productId}/assignments/{assignmentId} (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.write
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"productId": "<productId>",
"assignmentId": "<assignmentId>",
"locationId": "<locationId>"
},
"name": "ghl_course_delete_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. | |
| assignmentId | Yes | Assignment id |