Contents:
1. API Description
API domain name: cam.tencentcloudapi.com.
This API updates a user group.
Default API request rate limit: 20 requests/sec.
2. Input Parameters
The following parameters are required for requesting this API, including action-specific parameters and common parameters. For more information about common parameters for all requests, see Common Request Parameters.
Parameter name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common parameter; the name of this API: UpdateGroup |
Version | Yes | String | Common parameter; the version of this API: 2019-01-16 |
Region | No | String | Common parameter; optional for this API. |
GroupId | Yes | Integer | User group ID |
GroupName | No | String | Name of the user group |
Remark | No | String | Description of the user group |
3. Output Parameters
Parameter name | Type | Description |
---|---|---|
RequestId | String | The ID of the request. Each request returns a unique ID. The RequestId is required to troubleshoot issues. |
4. Sample
Sample 1. Updating a User Group
Input Sample Code
https://cam.tencentcloudapi.com/?Action=UpdateGroup
&GroupId=2020
&GroupName=2020test
&<Common request parameter>
Output Sample Code
{
"Response": {
"RequestId": "1fadd33e-6f57-4404-a912-bc00680b89d2"
}
}
5. Developer Resources
API Explorer
This tool provides various capabilities such as online call, signature verification, SDK code generation, and quick API retrieval that significantly reduce the difficulty of using TencentCloud API.
SDK
TencentCloud API 3.0 integrates software development toolkits (SDKs) that support various programming languages to make it easier for you to call the APIs.
- Tencent Cloud SDK 3.0 for Python
- Tencent Cloud SDK 3.0 for Java
- Tencent Cloud SDK 3.0 for PHP
- Tencent Cloud SDK 3.0 for Go
- Tencent Cloud SDK 3.0 for NodeJS
- Tencent Cloud SDK 3.0 for .NET
TCCLI
6. Error Codes
The following error codes are API business logic-related. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameter.GroupNameInUse | The name of the user group already exists. |
ResourceNotFound.GroupNotExist | The user group does not exist. |