X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ee341f1fc2579fdf28a8b8f07918f9ae195b0727..baeef76a2b3b60fb3613d01b1df2916397e8c589:/doc/api/methods/users.html.textile.liquid diff --git a/doc/api/methods/users.html.textile.liquid b/doc/api/methods/users.html.textile.liquid index 4c33f2afe8..cde189d6ff 100644 --- a/doc/api/methods/users.html.textile.liquid +++ b/doc/api/methods/users.html.textile.liquid @@ -154,3 +154,21 @@ Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the User in question.|path|| + +h3. merge + +Transfer ownership of data from the "old" user account to the "new" user account. When @redirect_to_new_user@ is @true@ this also causes logins to the "old" account to be redirected to the "new" account. The "old" user account that was redirected becomes invisible in user listings. + +See "Merge user accounts":{{site.baseurl}}/admin/link-accounts.html , "Reassign user data ownership":{{site.baseurl}}/admin/reassign-ownership.html and "Linking alternate login accounts":{{site.baseurl}}/user/topics/link-accounts.html for examples of how this method is used. + +Must supply either @new_user_token@ (the currently authorized user will be the "old" user), or both @new_user_uuid@ and @old_user_uuid@ (the currently authorized user must be an admin). + +Arguments: + +table(table table-bordered table-condensed). +|_. Argument |_. Type |_. Description |_. Location |_. Example | +|new_user_token|string|A valid token for the "new" user|query|| +|new_user_uuid|uuid|The uuid of the "new" account|query|| +|old_user_uuid|uuid|The uuid of the "old" account|query|| +|new_owner_uuid|uuid|The uuid of a project to which objects owned by the "old" user will be reassigned.|query|| +|redirect_to_new_user|boolean|If true, also redirect login and reassign authorization credentials from "old" user to the "new" user|query||