Unshare Directory
| directoryservice_unshare_directory | R Documentation | 
Stops the directory sharing between the directory owner and consumer accounts¶
Description¶
Stops the directory sharing between the directory owner and consumer accounts.
Usage¶
directoryservice_unshare_directory(DirectoryId, UnshareTarget)
Arguments¶
| DirectoryId | [required] The identifier of the Managed Microsoft AD directory that you want to stop sharing. | 
| UnshareTarget | [required] Identifier for the directory consumer account with whom the directory has to be unshared. | 
Value¶
A list with the following syntax:
list(
  SharedDirectoryId = "string"
)
Request syntax¶
svc$unshare_directory(
  DirectoryId = "string",
  UnshareTarget = list(
    Id = "string",
    Type = "ACCOUNT"
  )
)