gerrit docs: add note that duplicate user may have email addresses to remove

Change-Id: I54e935704d38dd60cdf75415dd8c61b06cae7b11
This commit is contained in:
Ian Wienand 2022-06-15 08:11:24 +10:00
parent 3a09bf7e8a
commit 4f3be693e5

View File

@ -500,6 +500,12 @@ delete the record with another call
$ curl -XPOST -u you.admin -i -H "Content-Type: application/json" -d '["https://login.ubuntu.com/+id/RaND0m"]' https://review.opendev.org/a/accounts/12345/external.ids:delete
If the user has added email addresses, there may also be ``mailto:``
identity entries for emails the user now wishes to use on their other
account. You should remove these with a ``:delete`` call as above.
Note that ``username`` external-ids cannot be deleted (Gerrit will
error), so new accounts can not reuse the username of old accounts.
The user should now be able to add ``foo@new.com`` to their old
account.