Enrollment
Delete Enrollment Rule
Soft-delete an enrollment rule. Returns success even if the rule is already deleted.
Authorization
bearerAuth AuthorizationBearer <token>
Use your secret API key as the bearer token
In: header
Path Parameters
id*string
Enrollment rule ID
Match
^plan_enroll_rule_[A-Za-z0-9]{22}$Response Body
application/json
application/json
application/json
curl -X DELETE "https://api.getlumen.dev/v1/enrollment/rules/string"{
"success": true
}{
"error": "Invalid enrollment rule id"
}{
"error": "Failed to delete enrollment rule"
}