Domain name for API request: databuddy.intl.tencentcloudapi.com.
This API is used to create user groups.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: AddWorkspaceUsers. |
| Version | Yes | String | Common Params. The value used for this API: 2026-07-15. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| UserUins.N | Yes | Array of String | uid |
| WorkspaceId | Yes | String | Workspace ID |
| RoleIds.N | Yes | Array of String | Role ID, can be obtained through the ListWorkspaceRoles API |
| Parameter Name | Type | Description |
|---|---|---|
| Data | PlatformStatusRsp | Result |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: AddWorkspaceUsers
<Common request parameters>
{
"UserUins": [
"60000078"
],
"WorkspaceId": "176214162400",
"RoleIds": [
"3001"
]
}
{
"Response": {
"Data": {
"Status": true
},
"RequestId": "6b51f17f-9b89-4393-b6d7-f96ec300871d"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| FailedOperation.ServiceError | Internal service error. |
| FailedOperation.TencentCloudSDKError | Tencent Cloud SDK request error |
| InternalError.InterfaceCallError | API is busy, try again later. |
| InvalidParameter | Parameter error. |
| InvalidParameter.JWTAuthFailure | JWT authentication fail |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded.WorkspaceUserQuota | Maximum number of workspace users reached. |
| MissingParameter | Parameters are missing. |
フィードバック