v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

Deletes an Directory Service directory.

Before you call DeleteDirectory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the DeleteDirectory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

post/#X-Amz-Target=DirectoryService_20150416.DeleteDirectory

Headers

X-Amz-Target'DirectoryService_20150416.DeleteDirectory' required

Request body

DirectoryIdstring required

The identifier of the directory to delete.

Response

Success

DirectoryIdstring

The directory identifier.