{"_id":"564b850585e4e92b00fb4fa0","project":"55773a5ba042551900b002cb","category":{"_id":"55773af907e7110d001043f0","__v":7,"pages":["564b84b2cc472d0d00da9457","564b84c0cc472d0d00da9459","564b84d44f06ef2b006b08b4","564b84eddda79a19000f266e","564b84f9e6c67c2f0038366a","564b850585e4e92b00fb4fa0","5668a50cee1dbf0d008f62dc"],"project":"55773a5ba042551900b002cb","version":"55773a5ba042551900b002ce","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-06-09T19:14:01.892Z","from_sync":false,"order":8,"slug":"courses-api","title":"Courses API"},"user":"546d17e2eb9cfd1400dd4529","__v":1,"editedParams":true,"editedParams2":true,"parentDoc":null,"version":{"_id":"55773a5ba042551900b002ce","project":"55773a5ba042551900b002cb","__v":17,"createdAt":"2015-06-09T19:11:23.764Z","releaseDate":"2015-06-09T19:11:23.764Z","categories":["55773a5ca042551900b002cf","55773a6ce6063e0d00481380","55773ab007e7110d001043ec","55773abaa042551900b002d5","55773ac207e7110d001043ed","55773acb07e7110d001043ee","55773ad3a042551900b002d6","55773adce6063e0d00481383","55773ae4a042551900b002d7","55773af307e7110d001043ef","55773af907e7110d001043f0","55773b0407e7110d001043f1","563a4f7ad25e8919005f3f39","563a4fcaa19edf0d00972321","564a70dc4cd0521700523edf","564b797bcc472d0d00da9435","564b855b766d4923004e1fd1"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Motherboard","version_clean":"1.0.0","version":"1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-17T19:50:29.244Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"method":"delete","results":{"codes":[{"name":"","status":200,"language":"json","code":"{\n    code: 200,\n    status: \"success\",\n    data: null,\n    message: \"Course 123456 deleted\"\n}"}]},"settings":"","auth":"required","params":[{"_id":"57069fc12138ed0e0060f824","ref":"","in":"path","required":true,"desc":"The unique id of the course to be deleted","default":"","type":"int","name":"course_id"}],"url":"/courses/:course_id"},"isReference":true,"order":5,"body":"The **Delete Course** method allows an course to be deleted and the id of the deleted course is returned. Authorization to remove the resource is checked and a 401 response will be returned for those attempting to delete resources without valid authorization.","excerpt":"","slug":"delete-course","type":"endpoint","title":"Delete Course"}

deleteDelete Course


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

course_id:
required
integer
The unique id of the course to be deleted

Result Format


Documentation

The **Delete Course** method allows an course to be deleted and the id of the deleted course is returned. Authorization to remove the resource is checked and a 401 response will be returned for those attempting to delete resources without valid authorization.

User Information

Try It Out

delete
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}