Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Request Monitoring Disenrollment

POST
/v1/monitoring/enrollments/{orderId}/disenroll

Request disenrollment for an existing monitoring enrollment by orderId.

Behavior

  • Applies to the order's most recent enrollment that is not already DISENROLLMENT_PENDING or DISENROLLED. source defaults to CLIENT_REQUEST.

Related: Request Monitoring Enrollment

Authorization

apiKey
headerapikey<token>

Path Parameters

orderId*string

Request Body

application/json
  1. body
source?string

Source that triggered disenrollment

Value in"CLIENT_REQUEST""AUTO_DISQUALIFICATION""PRODUCT_EXPIRATION""MANUAL_OVERRIDE""LEGAL_REQUIREMENT"
reason?string

Optional reason for disenrollment

Response Body

The order ID and the ID of the enrollment whose disenrollment was requested.

application/json
  1. response
orderId*string

Order ID used for disenrollment request

enrollmentId*string

Monitoring enrollment ID that was processed

Example Request
curl -X POST 'https://api.cerebrum.com/v1/monitoring/enrollments/string/disenroll' \  -H 'apikey: CEREBRUM_API_KEY' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "orderId": "0bb0f6f8-459f-482a-952e-7caf029517f6",  "enrollmentId": "9d3e5f7a-8b2c-4a1e-9f6d-7c8b5a4e3d2f"}