AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteCertificate operation. Deletes the specified certificate.
A certificate cannot be deleted if it has a policy or IoT thing attached to it or if its status is set to ACTIVE. To delete a certificate, first use the DetachPolicy action to detach all policies. Next, use the UpdateCertificate action to set the certificate to the INACTIVE status.
Requires permission to access the DeleteCertificate action.
public class DeleteCertificateRequest : AmazonIoTRequest IAmazonWebServiceRequest
The DeleteCertificateRequest type exposes the following members
Gets and sets the property CertificateId.
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Gets and sets the property ForceDelete.
Forces the deletion of a certificate if it is inactive and is not attached to an IoT thing.
.NET Core App:
Supported in: 3.1
Supported in: 2.0
Supported in: 4.5, 4.0, 3.5