{ "type": "object", "required": [ "DirectoryId" ], "name": "DeregisterWorkspaceDirectoryRequest", "properties": { "DirectoryId": { "allOf": [ { "$ref": "#/components/schemas/DirectoryId" }, { "description": "The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error." } ] } }, "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-workspaces/refs/heads/main/json-structure/workspaces-deregister-workspace-directory-request-structure.json", "description": "DeregisterWorkspaceDirectoryRequest schema from Amazon WorkSpaces API" }