创建用户组

最近更新时间:2024-11-01 16:19:41

我的收藏

接口描述

本接口(CreateGroup)可用于创建用户组。
请求域名:
cam.api.qcloud.com

输入参数

以下请求参数列表仅列出了接口请求参数,未列出 公共请求参数
参数名称
类型
必选
描述
groupName
string
用户组名
remark
string
用户组描述

输出参数

参数名称
类型
描述
groupId
int
用户组 ID

示例

输入

https://cam.api.qcloud.com/v2/index.php
?groupName=testgroupname
&remark=testre123
&SignatureMethod=HmacSHA256
&Action=CreateGroup
&Region=gz
&SecretId=************************************************************
&Nonce=38803
&Timestamp=1512702940
&RequestClient=SDK_PHP_1.1
&Signature=p4APCiYw5pHhjVk9Fwjk6U9n2%2FuTTaVGzSehd2G4YZc%3D

输出

{
"code": 0,
"message": "",
"codeDesc": "Success",
"data": {
"groupId": 28791
}
}

错误码

参见 错误码