Skip to content

Delete Directory

directoryservice_delete_directory R Documentation

Deletes an Directory Service directory

Description

Deletes an Directory Service directory.

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

Usage

directoryservice_delete_directory(DirectoryId)

Arguments

DirectoryId

[required] The identifier of the directory to delete.

Value

A list with the following syntax:

list(
  DirectoryId = "string"
)

Request syntax

svc$delete_directory(
  DirectoryId = "string"
)