All Products
Search
Document Center

Security Center:ModifyAccessKeyLeakDeal

Last Updated:Mar 21, 2023

Handles AccessKey pair leaks.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
IdlongNo

The ID of the AccessKey pair leak.

NoteYou can call the DescribeAccesskeyLeakList operation to query the ID. You must specify at least one of the Id and IdList parameters.
123
TypestringYes

The method to handle the AccessKey pair leak. Valid values:

  • manual: manually handle
  • disable: disable
  • add-whitelist: add to the whitelist
disable
RemarkstringNo

The remarks that are added.

disabled.
IdListarrayNo

The IDs of AccessKey pair leaks.

longNo

The ID of the AccessKey pair leak.

NoteYou can call the DescribeAccesskeyLeakList operation to query the ID. You must specify at least one of the Id and IdList parameters.
123

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

The ID of the request, which is used to locate and troubleshoot issues.

DD4617B4-133A-53C8-ADAE-7B30FF89****

Examples

Sample success responses

JSONformat

{
  "RequestId": "DD4617B4-133A-53C8-ADAE-7B30FF89****"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.