This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 2f299492f65 Fix API `moveUser` parameters descriptions (#8499)
2f299492f65 is described below

commit 2f299492f6565b4c00ce2977977b15f30e1a3725
Author: Lucas Martins <[email protected]>
AuthorDate: Mon Feb 5 05:48:02 2024 -0300

    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 <[email protected]>
    
    ---------
    
    Co-authored-by: lucas.martins.scclouds <[email protected]>
    Co-authored-by: Suresh Kumar Anaparti <[email protected]>
---
 .../org/apache/cloudstack/api/command/admin/user/MoveUserCmd.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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

Reply via email to