You can delete an enrollment with the unenroll method.
Permissions to run the request: Account Owner, Administrators, Department Administrators, Publishers, or users with a role with custom settings allowing to delete enrollments.
|credentials (required)||credentials||Read the description of the Credentials object.|
The ID of the enrollment you want us to delete.
After the request has been successfully processed, the system returns an object with the following properties:
|success||bool||True if the enrollment has been deleted.|
|Permission denied||The user has no permissions to delete enrollments.|
The enrollment with the given ID hasn't been found.