Skip to main content
Question

Can't get API to work for resetting a course status

  • July 28, 2025
  • 3 replies
  • 37 views

I’ve tried to use an API to change a users course enrollment status.  It looks like it says it worked but when i check that users/course status it doesn’t change.   Taking them from Completed to Enrolled.  This screenshot shows what i have tried for this specific endpoint. The second screenshot shows the response.

I also tried it this way

Any ideas of what i am doing wrong?

3 replies

dwilburn
Guide III
Forum|alt.badge.img+4
  • Guide III
  • July 28, 2025

Hi ​@cerickson, in the Docebo API Explorer, for the endpoint you are trying to use, click Body Schema. There you will see the following on how to change the status.


There is so much helpful info in there like what is required and what is optional.​​


dwilburn
Guide III
Forum|alt.badge.img+4
  • Guide III
  • July 28, 2025

@Bfarkas put on a series of workshops, this is one of them in the series. It is a useful watch.

 


dwilburn
Guide III
Forum|alt.badge.img+4
  • Guide III
  • July 28, 2025