Domain users unassign optimization #2279
arvindh123
started this conversation in
Polls
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Domain, users unassign endpoint, we have provision for multiple users for unassign in single request.
Request will be like
Lets take example user ids
["user_id_1", "user_id_2", "user_id_3"]
Domain users unassign logic have a
for
loop.If it fails in second loop, then second and third user id are not removed and first user is remove.
The REST response will error, but in the response we could not say which all users are removed successfully and which all users not removed and which user got error
Related issue: https://github.com/absmach/magistrala/issues/2280
Please consider issue before your vote or new proposal https://github.com/absmach/magistrala/issues/2281
4 votes ·
Beta Was this translation helpful? Give feedback.
All reactions