I don't think there is a web service API for this.
The quiz has the functionality which you can access through the Moodle UI. (Quiz administration -> User overrides). It would not be difficult to make a web service method for the same functionality. Someone just needs to code it.