v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

Rejects a directory sharing request that was sent from the directory owner account.

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

Headers

X-Amz-Target'DirectoryService_20150416.RejectSharedDirectory' required

Request body

SharedDirectoryIdstring required

Identifier of the shared directory in the directory consumer account. This identifier is different for each directory owner account.

Response

Success

SharedDirectoryIdstring

Identifier of the shared directory in the directory consumer account.