Admin

Complete or drop a single enrollment — the same write-through ProgramService.setStatus applies for the automatic client-enrollment-expiry sweep, so a manual fix here can never disagree with what the sweep would have done.

Changed on
patch/api/admin/enrollments/{id}/status

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/admin/enrollments/{id}/status
  • Auth
    HTTP bearer

Path parameters

idnumber required

Request body

status'completed' | 'dropped' required
endDatestring

Defaults to today if omitted and no end_date is already set.

Changes