You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[support a REST API] [Adding option mapAssetsTo to Remove User from Site method] #1020
In REST API version 3.9 appeared option mapAssetsTo for Remove User from Site method allows transferring to another user the contents owned by the user being removed. I didn't find this option implementation in TSC Python library.
I think I can sign a CLA and prepare PR by myself if you approved this issue.
Activity
jacalata commentedon Mar 31, 2022
sounds good to me - happy for you to build it. Do you have a specific design in mind?
SawyerMoscow commentedon Apr 1, 2022
I thought just to add parameter new_user_id with default None to function remove here:
https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/users_endpoint.py#L66
Add decorator parameter_added_in on this function.
And then extend url with this code:
url += "?mapAssetsTo={0}".format(new_user_id)if new_user_id is given.