Empty User Roles via API
We would like to be able to empty all user roles using an API call. Currently, User_Roles is the only segment that keeps untouched when the API call object does not contain any roles. This makes it necessary to keep at least one role as a parameter and it makes no sense from the API usability as it actually always returns the full user objets including empty roles arrays when we delete all roles from Alma end-point.
-
Dear Community,
Thank you for this Idea.
I would appreciate some clarifications about it:
Could you please explain the need of deleting all the user's roles via API? What is it good for? Could you please explain what is the point of having/keeping a user with no roles at all?
I would appreciate it if you could please describe the use-case and provide more details and explain the logic behind this request.
I would also like to understand what you would expect the API will return in a situation when the user has no roles? why an empty roles array makes no sense? and what will make sense in this situation?
Thanks,
Uri Beladev
Product Management -
Marco Naimoli commented
I'm sorry Daniel, but it's still not implemented
-
Daniel Davis commented
I just did this yesterday via API after our sandbox was refreshed to convert most of our librarians to simple Patrons. It is implemented.