Domain name for API request: cam.tencentcloudapi.com.
This API (UpdateRoleDescription) is used to modify the description of a role.
A maximum of 3 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: UpdateRoleDescription. |
Version | Yes | String | Common Params. The value used for this API: 2019-01-16. |
Region | No | String | Common Params. This parameter is not required for this API. |
Description | Yes | String | Role description |
RoleId | No | String | Role ID, used to specify a role. Input either RoleId or RoleName |
RoleName | No | String | Role name, used to specify a role. Input either RoleId or RoleName |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://cam.tencentcloudapi.com/?Action=UpdateRoleDescription
&RoleId=4611686018427731422
&Description=abc234
&<Common request parameters>
{
"Response": {
"RequestId": "405af400-30ec-4c78-8955-ef4da843bde2"
}
}
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 |
---|---|
InternalError.SystemError | Internal error. |
InvalidParameter.DescriptionLengthOverlimit | The input parameter description cannot exceed 300 bytes in length. |
InvalidParameter.ParamError | Invalid input parameter. |
InvalidParameter.RoleNotExist | Role does not exist. |
문제 해결에 도움이 되었나요?