AWS SDK Version 3 for .NET
API Reference

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.

Deletes the private certificate authority (CA) that you created or started to create by calling the CreateCertificateAuthority function. This action requires that you enter an ARN (Amazon Resource Name) for the private CA that you want to delete. You can find the ARN by calling the ListCertificateAuthorities function. You can delete the CA if you are waiting for it to be created (the Status field of the CertificateAuthority is CREATING) or if the CA has been created but you haven't yet imported the signed certificate (the Status is PENDING_CERTIFICATE) into ACM PCA. If you've already imported the certificate, you cannot delete the CA unless it has been disabled for more than 30 days. To disable a CA, call the UpdateCertificateAuthority function and set the CertificateAuthorityStatus argument to DISABLED.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to DeleteCertificateAuthorityAsync.

Namespace: Amazon.ACMPCA
Assembly: AWSSDK.ACMPCA.dll
Version: 3.x.y.z


public abstract DeleteCertificateAuthorityResponse DeleteCertificateAuthority(
         DeleteCertificateAuthorityRequest request
Type: Amazon.ACMPCA.Model.DeleteCertificateAuthorityRequest

Container for the necessary parameters to execute the DeleteCertificateAuthority service method.

Return Value
The response from the DeleteCertificateAuthority service method, as returned by ACMPCA.


ConcurrentModificationException A previous update to your private CA is still ongoing.
InvalidArnException The requested Amazon Resource Name (ARN) does not refer to an existing resource.
InvalidStateException The private CA is in a state during which a report cannot be generated.
ResourceNotFoundException A resource such as a private CA, S3 bucket, certificate, or audit report cannot be found.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also