Asset Fingerprint - Account Information
Function
This API is used to check account information in asset fingerprints.
URI
GET /v5/{project_id}/asset/user/statistics
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID Minimum: 1 Maximum: 256 |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
user_name |
No |
String |
Account name. It must comply with the Windows file naming rules. The value can contain letters, digits, underscores (_), and the following special characters: !@.-. Chinese punctuations are not allowed. Minimum: 1 Maximum: 128 |
enterprise_project_id |
No |
String |
Enterprise project Minimum: 0 Maximum: 128 |
limit |
No |
Integer |
Default value: 10 Minimum: 10 Maximum: 200 Default: 10 |
offset |
No |
Integer |
Default value: 0 Minimum: 0 Maximum: 2000000 Default: 0 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
x-auth-token |
Yes |
String |
iam token Minimum: 32 Maximum: 4096 |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total_num |
Integer |
Total number of accounts Minimum: 0 Maximum: 10000 |
data_list |
Array of UserStatisticInfoResponseInfo objects |
Account statistics list |
Example Requests
None
Example Responses
Status code: 200
Number of servers having the account
{ "total_num" : 1, "data_list" : [ { "user_name" : "bin", "num" : 5 } ] }
Status Codes
Status Code |
Description |
---|---|
200 |
Number of servers having the account |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackFor any further questions, feel free to contact us through the chatbot.
Chatbot