Note:
This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CAM API 3.0 which is standardized and faster.
This API (AttachGroupPolicy) is used to associate a policy to a user group.
Request domain name:
cam.api.qcloud.com
The following request parameter list only provides API request parameters. Other parameters can be found in Common Request Parameters.
Parameter Name | Type | Required | Description |
---|---|---|---|
policyId | int | Yes | Policy ID |
groupId | int | Yes | User group ID |
None.
https://cam.api.qcloud.com/v2/index.php
?policyId=1
&groupId=34444
&SignatureMethod=HmacSHA256
&Action=AttachGroupPolicy
&Region=gz
&SecretId=AKIDWwGVed95Zu693ltdoopjcKrDct20DKky
&Nonce=28335
&Timestamp=1523261970
&RequestClient=SDK_PHP_1.1
&Signature=QeBOuhSP6G5NLgzkkY3At6I9hjGxxfLO1PkDhsGwnsc%3D
{
"code": 0,
"message": "",
"codeDesc": "Success",
"data": []
}
For more information, please see Error Codes.
Was this page helpful?