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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.