I want to change a username in Bamboo 6.8.1 via rest api but I can't figure out how to use the method /admin/users/rename.
E.g.
curl -s -X PUT -u admin:password -H "Content-Type: application/json" -d '{"name": "willow"}' http://localhost:8085/rest/api/latest/admin/users/rename?filter=buffy
says the user does not exist.
curl -s -X PUT -u admin:password -H "Content-Type: application/json" -d '{"name": "newName","oldName":"oldName"}' http://localhost:8085/rest/api/latest/admin/user/newName
Great, thanks!
This worked:
curl -s -X PUT -u admin:password -H "Content-Type: application/json" -d '{"name": "willow","oldName": "buffy"}' http://localhost:8085/rest/api/latest/admin/users/rename
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.