In one of our courses we have a quiz which the participants have to solve and they have only one attempt.
But they can buy a "re-exam" so they can solve the quiz a second time. So that we don't have to enable a second attempt manually over the administration page we want enable the second attempt over the REST-API automatically when we receive the payment.
Unfortunately I didn't find the right API function for that. Does it exists? If yes, which one is it?
Thanks for your help!