所属服务

keypair

Action

DeleteKeyPair

Version

2018-02-08

Method

GET

描述

删除秘钥对

请求参数

参数名称说明参数类型是否必填
Id秘钥IDlong
ActionDeleteKeyPairstring
Version2018-02-08string

返回参数

返回参数被覆盖

错误码

错误码(Code)错误提示(Message)http status code说明
Success处理成功200null
ResourceNotFound请求资源不存在400null
MissingParameter参数缺失400null

请求示例

curl -X GET \
'{G0Host}/keypair?Action=DeleteKeyPair&Version=2018-02-08&Id=3633' \
-H 'Accept: application/json;charset=UTF-8' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'X-163-RequestId: 0977ed11-9e68-46ad-b93c-1354a827f1cc' \
-H 'X-163-AcceptLanguage: zh' \
-H 'X-163-SignatureVersion: 2.0' \
-H 'X-163-SignatureNonce: 31296512-4ef2-4a69-97be-6e31ad015b5b' \
-H 'X-163-DryRun: false' \
-H 'X-163-Date: 2018-08-21T02:00:41Z' \
-H 'host: {G0Host}' \
-H 'Authorization: HMAC-SHA256 Credential=bd9e3a3d25fa4deda81d7d6954a34342/20180821/cn-east-1/keypair/163_request, SignedHeaders=host;x-163-acceptlanguage;x-163-date;x-163-dryrun;x-163-signaturenonce;x-163-signatureversion, Signature=3ca547de1dac921036119006d608fe174018138736534edba5925cad3a626de4' \

返回示例

{
    "Message":"处理成功",
    "RequestId":"0977ed11-9e68-46ad-b93c-1354a827f1cc",
    "Code":"Success"
}