Skip to main content
Best Answer

How to remove date_expire_validity from course enrollment?

  • October 11, 2024
  • 1 reply
  • 34 views

For api endpoint PUT /learn/v1/enrollments/{course_id}/{user_id}

I need to remove the date_expire_validity.  However passing null or an empty string returns an error.  How do I unset this date?

Best answer by jammor29

ok I found that setting the date to fifty years in the future cleared the date.

1 reply

  • Author
  • Newcomer
  • Answer
  • October 11, 2024

ok I found that setting the date to fifty years in the future cleared the date.