How to delete course via API

The article describes how to delete a course via API. 

Note: the endpoint is not mentioned in Swagger. Still, there is a way to delete a course via API using Postman.

To authorize in Postman, navigate to the "Authorization" tab, choose the "Basic Auth" type, and insert Username and Password:

When authenticated, you can use the API key or enter the word "API" for Username and the API key for Password.​

To delete a course, use the DELETE method /odata/v2/Courses({id}), specify course Id. Navigate to the "Body" tab and specify groups in JSON format to be correctly deleted with the course. Click Send and check the response status code:

Was this article helpful?
2 out of 2 found this helpful


Article is closed for comments.