Docs Rizler

Courses

Delete Course

DELETEhttps://app.rizzdial.com/api/knowledge-hub/courses/delete/{id}
Delete Course
curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/courses/delete/<id> \
  --header 'Authorization: Bearer <token>'
{
  "message": "Course and all related data deleted successfully.",
  "success": true
}

Delete Course#

Deletes the course and related data. Tries to remove the thumbnail from storage. Requires delete-knowledge-hub.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

idstringpathrequired

Base64 id from the matching list or builder. A raw numeric id is also accepted.

curl --request DELETE \
  --url https://app.rizzdial.com/api/knowledge-hub/courses/delete/MQ== \
  --header 'Authorization: Bearer {{bearer_token}}'
messagestring

Course and all related data deleted successfully.