Hi -
Pretty simple question. What are the parameter types for the remove_users method from a group?
The documentation says the parameter usernames is a "Required string. A comma-separated list of users to be removed." So is usernames a string or a list of strings?
The method also returns a "dictionary with a key notRemoved that is a list of users not removed." However, it seems to be returning a dictionary whose value for the notRemoved key seems to be a list of my string characters: {'notRemoved': ['e', 'k', 'v', '5', '_', 'c', 'd']}.
Can someone tell me what I'm doing wrong?
Thanks,
Ryan
Solved! Go to Solution.
Figured it out... I had to add my string to a single element list first. I still think the documentation is confusing.
Figured it out... I had to add my string to a single element list first. I still think the documentation is confusing.