ghl_course_delete_category
Deletes a course category by product and category ID, requiring a location token with courses.write scope.
Instructions
COURSES API — the {productId} path parameter is the course (product) id. Delete Category Delete a category. Requires a Location token with courses.write. Endpoint: DELETE /courses/products/{productId}/categories/{categoryId} (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 | |
| categoryId | Yes | Category id | |
| locationId | Yes | Location id or sub-account id is required. |