/AWS1/CL_IOT=>DELETECERTIFICATE()
¶
About DeleteCertificate¶
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.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_CERTIFICATEID
TYPE /AWS1/IOTCERTIFICATEID
/AWS1/IOTCERTIFICATEID
¶
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
Optional arguments:¶
IV_FORCEDELETE
TYPE /AWS1/IOTFORCEDELETE
/AWS1/IOTFORCEDELETE
¶
Forces the deletion of a certificate if it is inactive and is not attached to an IoT thing.