DeleteDirectoryRegistration - AWS Private CA Connector for Active Directory


Deletes a directory registration. Deleting a directory registration deauthorizes AWS Private CA with the directory.

Request Syntax

DELETE /directoryRegistrations/DirectoryRegistrationArn HTTP/1.1

URI Request Parameters

The request uses the following URI parameters.


The Amazon Resource Name (ARN) that was returned when you called CreateDirectoryRegistration.

Length Constraints: Minimum length of 5. Maximum length of 200.

Pattern: ^arn:[\w-]+:pca-connector-ad:[\w-]+:[0-9]+:directory-registration\/d-[0-9a-f]{10}$

Required: Yes

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 202

Response Elements

If the action is successful, the service sends back an HTTP 202 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


You can receive this error if you attempt to create a resource share when you don't have the required permissions. This can be caused by insufficient permissions in policies attached to your AWS Identity and Access Management (IAM) principal. It can also happen because of restrictions in place from an AWS Organizations service control policy (SCP) that affects your AWS account.

HTTP Status Code: 403


This request cannot be completed for one of the following reasons because the requested resource was being concurrently modified by another request.

HTTP Status Code: 409


The request processing has failed because of an unknown error, exception or failure with an internal server.

HTTP Status Code: 500


The limit on the number of requests per second was exceeded.

HTTP Status Code: 429


An input validation error occurred. For example, invalid characters in a template name, or if a pagination token is invalid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: