Skip to content

Commit 2f29949

Browse files
lucas-a-martinslucas.martins.sccloudssureshanaparti
authored
Fix API moveUser parameters descriptions (#8499)
* Fix API moveUser description * Add dot to description * Update api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com> --------- Co-authored-by: lucas.martins.scclouds <lucas.martins@scclouds.com.br> Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
1 parent 5361b41 commit 2f29949

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
import com.google.common.base.Preconditions;
4040

4141
@APICommand(name = "moveUser",
42-
description = "Moves a user to another account",
42+
description = "Moves a user to another account in the same domain.",
4343
responseObject = SuccessResponse.class,
4444
requestHasSensitiveInfo = false,
4545
responseHasSensitiveInfo = false,
@@ -56,18 +56,18 @@ public class MoveUserCmd extends BaseCmd {
5656
type = CommandType.UUID,
5757
entityType = UserResponse.class,
5858
required = true,
59-
description = "id of the user to be deleted")
59+
description = "id of the user to be moved.")
6060
private Long id;
6161

6262
@Parameter(name = ApiConstants.ACCOUNT,
6363
type = CommandType.STRING,
64-
description = "Creates the user under the specified account. If no account is specified, the username will be used as the account name.")
64+
description = "Moves the user under the specified account. If no account name is specified, it is necessary to provide an account id.")
6565
private String accountName;
6666

6767
@Parameter(name = ApiConstants.ACCOUNT_ID,
6868
type = CommandType.UUID,
6969
entityType = AccountResponse.class,
70-
description = "Creates the user under the specified domain. Has to be accompanied with the account parameter")
70+
description = "Moves the user under the specified account. If no account id is specified, it is necessary to provide an account name.")
7171
private Long accountId;
7272

7373
@Inject

0 commit comments

Comments
 (0)