You can delete an enrollment by sending the POST request to the following URL: /enrollment/delete.
Permissions to run the request: Account Owner, Administrators, Department Administrators, Publishers, or users with a role with custom settings allowing to delete enrollments.
|The base URL of the account, e.g. http://myaccount.ispringlearn.com.|
|X-Auth-Email (required)||The login of Account Owner, Administrator, Department Administrator, Publisher or a user with a role with custom settings allowing to delete enrollments.|
|X-Auth-Password (required)||The password of Account Owner, Administrator, Department Administrator, Publisher or a user with a role with custom settings allowing to delete enrollments.|
The IDs of the enrollments you want to delete.
After the request has been successfully processed, the system returns the response with the 204 code.
|204||Successful operation||The enrollment has been successfully deleted.|
|400||Bad Request||A request error.|
|401||Unauthorized||An authorization error.|
|403||Permission denied||The user doesn't have enough permissions to delete enrollments.|