Queries the ID of an asset group by group name.
Operation description
Queries the ID of an asset group by the group name. If you need to specify an asset group ID when you call other operations such as GetSuspiciousStatistics and DeleteGroup, you can call this operation to obtain the asset group ID.
QPS limit
The queries per second (QPS) limit for a single user for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled. This may affect your business. Call this operation appropriately.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:QueryGroupIdByGroupName |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceIp |
string |
No |
The IP address of the access source. |
10.12.XX.XX |
| GroupName |
string |
Yes |
The name of the group to query. |
TestGroupName |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. You can use the ID to troubleshoot issues. |
24A20733-10A0-4AF6-BE6B-E3322413BB68 |
| GroupId |
integer |
The ID of the group. |
9935302 |
Examples
Success response
JSON format
{
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413BB68",
"GroupId": 9935302
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.