All Products
Search
Document Center

Key Management Service:DeleteClientKey

Last Updated:Aug 15, 2025

Deletes a ClientKey, which is an application identity credential.

Operation description

  • For information about the access policy required for a RAM user or RAM role to call this API operation, see Resource Access Management.

  • Before you delete a ClientKey, make sure that it is no longer in use. Deleting a ClientKey that is in use prevents related applications from accessing KMS. Proceed with caution.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

ClientKeyId

string

Yes

The ID of the client key.

KAAP.66abf237-63f6-4625-b8cf-47e1086e****

Response parameters

Parameter

Type

Description

Example

object

RequestId

string

The request ID. This is a unique identifier that Alibaba Cloud generates for the request. Use this ID to troubleshoot and locate issues.

2312e45f-b2fa-4c34-ad94-3eca50932916

Examples

Success response

JSON format

{
  "RequestId": "2312e45f-b2fa-4c34-ad94-3eca50932916"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InvalidParameter The specified parameter is not valid. An invalid value is specified for the parameter.
404 InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.