@Singleton public class UserRenameResource extends Object
Constructor and Description |
---|
UserRenameResource(UserRenameService userRenameService) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
renameUserPost(Boolean isExternalRename,
RestUserRenameRequest user)
Renames specified user.
|
javax.ws.rs.core.Response |
renameUserPut(String newUserName,
Boolean isExternalRename,
RestUserRenameRequest user)
Renames specified user.
|
public UserRenameResource(UserRenameService userRenameService)
public javax.ws.rs.core.Response renameUserPut(String newUserName, Boolean isExternalRename, RestUserRenameRequest user)
The authenticated user must have BambooPermission.RESTRICTEDADMINISTRATION
permission or higher to call this resource.
newUserName
- users new usernameisExternalRename
- set to true if the rename has been done externally and Bamboo is notified of ituser
- public javax.ws.rs.core.Response renameUserPost(Boolean isExternalRename, RestUserRenameRequest user)
The authenticated user must have BambooPermission.RESTRICTEDADMINISTRATION
permission or higher to call this resource.
isExternalRename
- set to true if the rename has been done externally and Bamboo is notified of ituser
- Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.