Training

Unenroll User from Course

❗️ End of Support Notification

As of December 5, 2025, this API is now deprecated. For more information, see OneTrust API Sunsetting & Deprecation Guidelines.

Use this API to unenroll a user from a specific course using the enrollmentAssigneeId.

delete/v1/enrollments/enrollment-assignees/{enrollmentAssigneeId}

Request

  • Base URL
    https://customer.my.onetrust.com/api/awareness-training
  • URL
    https://customer.my.onetrust.com/api/awareness-training/v1/enrollments/enrollment-assignees/{enrollmentAssigneeId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{$$.env.host}/api/access/v1/oauth/token

Path parameters

enrollmentAssigneeIdstring uuid required

ID which gets created when the user is enrolled to a course. The enrollmentAssigneeId can be retrieved by calling the Get Enrollment Details API.

Response

No Content

Changes

No recorded changes to this operation across all 1 revision of this API.