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
It looks like you're new here. Sign in or register to get started.