DeleteKeyMaterial

<p class="shortdesc"></p> <section class="section" id="DELETEKEYMATERIAL__section_djw_g2j_mlb"><h2 class="doc-tairway">DeleteKeyMaterial </h2> <p class="p"><strong class="ph b">Description</strong></p> <p class="p">Deleting imported key material. </p> <div class="note important note_important"><span class="note__title">Important:</span> <ol class="ol" id="DELETEKEYMATERIAL__ol_wjc_ldj_mlb"> <li class="li">You can manually delete only imported key material; </li> <li class="li">This operation only deletes the key material, not its corresponding customer master key (CMK); </li> <li class="li">When the CMK is pending deletion, the key status and scheduled deletion time do not change if you delete its key material; when the CMK is not pending deletion, the key status becomes pending import once you delete its key material; </li> <li class="li">You can reimport the key material after you delete it. The newly imported key material must be as same as the one deleted. </li> </ol> </div> <p class="p"><strong class="ph b">Request Parameters</strong></p> <table class="table" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb"><caption></caption><colgroup><col><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__1"> <p class="p">keyId </p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__2"> <p class="p">String </p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__3"> <p class="p">Yes </p> </th> <th class="entry" id="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__4"> <p class="p">Globally unique identifier of the CMK. </p> </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__1 "> <p class="p">Name </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__2 "> <p class="p">Type </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__3 "> <p class="p">Necessary or Not </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_xjc_ldj_mlb__entry__4 "> <p class="p">Description </p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Return Parameters</strong></p> <table class="table" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb"><caption></caption><colgroup><col><col><col></colgroup><thead class="thead"> <tr class="row"> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1">Name </th> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2">Type </th> <th class="entry" id="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3">Description </th> </tr> </thead><tbody class="tbody"> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1 "> <p class="p">code </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3 "> <p class="p">Return code. “SUCCESS” will be returned if the request is succeeded. </p> </td> </tr> <tr class="row"> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__1 "> <p class="p">requestId </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__2 "> <p class="p">String </p> </td> <td class="entry" headers="DELETEKEYMATERIAL__table_yjc_ldj_mlb__entry__3 "> <p class="p">ID of the current request. </p> </td> </tr> </tbody></table> <p class="p"><strong class="ph b">Request Example</strong></p> <pre class="pre codeblock"><code>https://kms-cn-shanghai.yun.pingan.com/?action=DeleteKeyMaterial &keyId=<cmkid> &<公共请求参数> </code></pre> <p class="p"><strong class="ph b">Return Example</strong></p> <pre class="pre codeblock"><code>{ "code": "SUCCESS", "requestId": "cbef6f5d-39f6-416b-918e-0e86d5ff1f9e" } </code></pre> </section>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products