Skip to navigation

Course Unsubscribe

View as Markdown

The API endpoint {{baseUrl}}/api/course/unsubscribe is a POST request that is used to unsubscribe a user from a course

Request

  • Method: POST

  • Base URL: {{baseUrl}}

  • Path: /api/course/unsubscribe

  • Headers:

    • Content-Type: application/x-www-form-urlencoded

Request Body

The request body type is x-www-form-urlencoded

  • idst (string): User ID

  • auth (string): Authentication token

  • course_id (string): Course ID

Response

The response will be in JSON format and will include the following fields:

  • success (boolean): Indicates the success status of the request.

  • message (string): Provides additional information

Request

This endpoint expects an object.
authstringRequired
idststringRequired
course_idstringRequired

Response headers

Keep-AlivestringOptional
X-Powered-BystringOptional

Response

OK
messagestring
successboolean