12702: Add API docs for users#update_uuid.
authorTom Clegg <tclegg@veritasgenetics.com>
Fri, 5 Jan 2018 20:07:25 +0000 (15:07 -0500)
committerTom Clegg <tclegg@veritasgenetics.com>
Fri, 5 Jan 2018 20:07:25 +0000 (15:07 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

doc/api/methods/users.html.textile.liquid

index 3a28e1e85610f4120aa3a4d4082c80c25edd8b3b..2e5dee51810f188591c7903776d1d70e3b23f289 100644 (file)
@@ -111,3 +111,16 @@ table(table table-bordered table-condensed).
 |_. Argument |_. Type |_. Description |_. Location |_. Example |
 {background:#ccffcc}.|uuid|string|The UUID of the User in question.|path||
 |user|object||query||
+
+h3. update_uuid
+
+Change the UUID of an existing user, updating all database references accordingly.
+
+This method can only be used by an admin user. It should only be used when the affected user is idle. New references to the affected user that are established _while the update_uuid operation is in progress_ might not be migrated as expected.
+
+Arguments:
+
+table(table table-bordered table-condensed).
+|_. Argument |_. Type |_. Description |_. Location |_. Example |
+{background:#ccffcc}.|uuid|string|The current UUID of the user in question.|path|@zzzzz-tpzed-12345abcde12345@|
+{background:#ccffcc}.|new_uuid|string|The desired new UUID. It is an error to use a UUID belonging to an existing user.|query|@zzzzz-tpzed-abcde12345abcde@|