mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6323: Change getUser API arg to userapikey
By default the getUser API picks apikey arg from HTTP request to return the User object with that api key. We use apikey in the request, so it would return the same user calling the API. This commit uses the USER_API_KEY in the API annotation instead. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
de85c4d555
commit
72e06b4d9b
|
|
@ -39,7 +39,7 @@ public class GetUserCmd extends BaseCmd {
|
|||
//////////////// API parameters /////////////////////
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
@Parameter(name = ApiConstants.API_KEY, type = CommandType.STRING, required = true, description = "API key of the user")
|
||||
@Parameter(name = ApiConstants.USER_API_KEY, type = CommandType.STRING, required = true, description = "API key of the user")
|
||||
private String apiKey;
|
||||
|
||||
/////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue