ghl_course_delete
Deletes a course by product ID within a location, requiring a sub-account token with courses.write permission.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Delete Course Delete a course. Requires a Location token with courses.write. Endpoint: DELETE /courses/products/{productId} (Version header: v3; source: v3/courses-v3.json) Requires a Sub-Account (location) token. OAuth scopes: courses.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | Product id | |
| locationId | Yes | Location id or sub-account id is required. |