QueryDevicesByAccount
Retrieve the list of devices associated with an account using the account name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mpush:QueryDevicesByAccount |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppKey |
integer |
Yes |
AppKey information. |
23267207 |
| Account |
string |
Yes |
Account name. You can query only one account at a time. |
test_account |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Request ID. |
A8A24108-2AD0-4F6E-81C7-A8A24C2C2AD0 |
| DeviceIds |
object |
||
| DeviceId |
array |
List of device IDs. |
|
|
string |
Device ID |
f6e43770afb944a1a879b46130ZZ**** |
Examples
Success response
JSON format
{
"RequestId": "A8A24108-2AD0-4F6E-81C7-A8A24C2C2AD0",
"DeviceIds": {
"DeviceId": [
"f6e43770afb944a1a879b46130ZZ****"
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | AccountLimitExceed | The number of devices bound to the account exceeds 10000. | The number of devices bound to the account exceeds 10000. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.