Course Enrollments
Cancel a course enrollment
DELETE
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.
OAuth2header
AuthorizationBearer <token>Obtain a token at /v1/oauth/token, then send Authorization: Bearer <access_token>.
enrollment_id*Enrollment IdcourseEnrollmentId returned when the enrollment was created.
Format
uuidEnrollment deleted. No response body.
curl -X DELETE 'https://api.staging.thepalia.de/v1/course-enrollments/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
Empty