Delete a certificate.

You can call this operation to delete your certificate.

Debugging

Alibaba Cloud provides OpenAPI Explorer to simplify API usage. You can use OpenAPI Explorer to search for APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteUserCertificate

The operation that you want to perform. Set this value to DeleteUserCertificate.

CertId Long  Yes 123

The ID of the certificate. You can call the CreateUserCertificate operation to obtain CertId in the response.

Lang String No ZH

The language type of the request and response.

SourceIp String No 1.2.3.4

The source IP address of the request.

Response parameters

Parameter Type Example Description
RequestId String BDXX

The ID of the request.

Examples

Sample request


http(s)://[Endpoint]/? Action=DeleteUserCertificate
&<Common request parameters>

Sample success response

XML format

<DeleteUserCertificate>
	  <RequestId>BDB81BA2-E1F5-4D08-A2DD-4BE2BF44C90E</RequestId>
</DeleteUserCertificate>

JSON format

{
	"RequestId":"BDB81BA2-E1F5-4D08-A2DD-4BE2BF44C90E"
}

Error codes

The operation returns only common errors. For more information about errors common to all operations, see Error codes.