Skip to main content
EnrollmentVersion: v3New

Revoke Enrollment

DEL/courses/enrollments

Revoke a contact from a membership offer. Requires a Location token with courses.write. Send Version: v3. Uses DELETE smart-list/user (offer revoke, not product blacklist). Sibling products on the same offer are also revoked. Default-offer rows return 404.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:courses.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Query Parameters

locationIdstringrequired

Location id or sub-account id is required.

Possible values: non-empty

Example:ve9EPM428h8vShlRW1KT

Body

contactIdstringrequired

CRM contact id

Example:abc123ContactId
offerIdstringrequired

Membership offer id

Example:c3d4e5f6-7890-4123-cdef-123456789012

Response

Enrollment revoked