thepaliaDevelopers
Course Enrollments

Cancel a course enrollment

DELETE
/v1/course-enrollments/{enrollment_id}

Delete an enrollment belonging to your partner account using its courseEnrollmentId. This removes the enrollment and course access; it does not refund a payment in your checkout system. A successful response is HTTP 204 with no body. A missing or already deleted enrollment returns 404.

Authorization

OAuth2
headerAuthorizationBearer <token>

Obtain a token at /v1/oauth/token, then send Authorization: Bearer <access_token>.

Path Parameters

enrollment_id*Enrollment Id

courseEnrollmentId returned when the enrollment was created.

Formatuuid

Response Body

Enrollment deleted. No response body.

Example Request
curl -X DELETE 'https://api.staging.thepalia.de/v1/course-enrollments/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
Empty