diff --git a/api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java b/api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java index 56552ba95df..b7090977d96 100644 --- a/api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java +++ b/api/src/main/java/org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java @@ -39,7 +39,7 @@ import com.cloud.user.User; import com.google.common.base.Preconditions; @APICommand(name = "moveUser", - description = "Moves a user to another account", + description = "Moves a user to another account in the same domain.", responseObject = SuccessResponse.class, requestHasSensitiveInfo = false, responseHasSensitiveInfo = false, @@ -56,18 +56,18 @@ public class MoveUserCmd extends BaseCmd { type = CommandType.UUID, entityType = UserResponse.class, required = true, - description = "id of the user to be deleted") + description = "id of the user to be moved.") private Long id; @Parameter(name = ApiConstants.ACCOUNT, type = CommandType.STRING, - description = "Creates the user under the specified account. If no account is specified, the username will be used as the account name.") + description = "Moves the user under the specified account. If no account name is specified, it is necessary to provide an account id.") private String accountName; @Parameter(name = ApiConstants.ACCOUNT_ID, type = CommandType.UUID, entityType = AccountResponse.class, - description = "Creates the user under the specified domain. Has to be accompanied with the account parameter") + description = "Moves the user under the specified account. If no account id is specified, it is necessary to provide an account name.") private Long accountId; @Inject