API for user deletion

API for user deletion

by nob noby -
Number of replies: 0

I am investigating the following moodle API specifications and would like to know if you know.

https://docs.moodle.org/dev/Talk:Web_service_API_functions


Question: Without deleting user (student) related information (course registration and grades)

Is there an error when executing the user deletion API?


I think that the API executed when deleting a user is "core_user_delete_users"

At this time, relevant information such as the course registration status and grades of the user to be deleted is

Is it necessary to delete with another API before executing the user deletion API?

Or please tell me if the moodle user table has referential constraints.


Humbly, thank you.

Average of ratings: -