Deletes a server certificate.

Note You cannot delete a certificate that is in use.


Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes DeleteServerCertificate

The name of this action.

Value: DeleteServerCertificate

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

To query the region ID, call DescribeRegions.

ServerCertificateId String Yes 123157xxxxxxx_166f8204689_1714763408_709981430

The ID of the server certificate.

Response parameters

Parameter Type Example value Description
RequestId String CEF72CEB-54B6-4AE8-B225-F876FF7BA984

The ID of the request.


Request example

http(s)://[Endpoint]/? Action=DeleteServerCertificate

Response examples

XML format


JSON format

	"RequestId":" CEF72CEB-54B6-4AE8-B225-F876FF7BA984"

Error codes

See common error codes.