Domain name for API request: csip.intl.tencentcloudapi.com.
Modifies the Sensitive Information Allowlist of a Container Image
A maximum of 200 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: ModifyImageSensitiveWhitelist. |
| Version | Yes | String | Common Params. The value used for this API: 2022-11-21. |
| Region | No | String | Common Params. This parameter is not required. |
| RuleId | Yes | Integer | Sensitive information allowlist id |
| MemberId.N | No | Array of String | Group account member id |
| Behavior | No | Integer | Whitelisted sensitive information types Enumeration values:
|
| ImageIds.N | No | Array of String | Image ID. |
| Scope | No | Integer | Effective scope |
| Status | No | Integer | Allowlist status |
| Remark | No | String | Remarks. |
| Parameter Name | Type | Description |
|---|---|---|
| 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: csip.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyImageSensitiveWhitelist
<Common request parameters>
{
"RuleId": 1,
"MemberId": [
"mem-12e1se11"
],
"Behavior": 2,
"ImageIds": [
"1"
],
"Scope": 0,
"Status": 0,
"Remark": "Sensitive information allowlist"
}
{
"Response": {
"RequestId": "a4cea968-49df-4ec5-b417-6462c2733129"
}
}
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 |
|---|---|
| AuthFailure | CAM signature/authentication error. |
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidFilter | Invalid Filter |
| InvalidParameter | Parameter error. |
| InvalidParameter.ResourceId | InvalidParameter.ResourceId |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded | The quota limit is exceeded. |
| MissingParameter | Parameters are missing. |
| OperationDenied | Operation denied. |
| RequestLimitExceeded | Number of requests exceeds the frequency limit. |
| ResourceInUse | The resource is occupied. |
| ResourceNotFound | The resource does not exist. |
| ResourceUnavailable | Resources are unavailable. |
| UnauthorizedOperation.NoPermission | UnauthorizedOperation.NoPermission |
| UnknownParameter | Unknown parameter error. |
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários