Is it possible to edit Sync gateway username?

Hi,
I created sync gateway user. I need to edit my sync gateway username. I tried to edit. I used to edit username using admin-rest-api. I got error

{“error”:“Bad Request”,“reason”:“Name mismatch (can’t change name)”}

Is it possible to edit sync gateway username?

Thank you.

I don’t believe there’s a way of doing this. You will need to create a new user with the correct username, with the same roles or channels, and password, and then delete the old user.

1 Like