2.2.1.4 FolderDelete

The FolderDelete command deletes a folder from the server. The ServerId (section 2.2.3.166.3) of the folder is passed to the server in the FolderDelete command request (section 2.2.1.4), which deletes the collection with the matching identifier. The server then sends a response indicating the status of the deletion.

The FolderDelete command cannot be used to delete a recipient information cache. Attempting to delete a recipient information cache using this command results in a Status element (section 2.2.3.177.4) value of 3.

The FolderHierarchy namespace is the primary namespace for this section. Elements referenced in this section that are not defined in the FolderHierarchy namespace use the namespace prefixes defined in section 2.2.4.

The following table lists the elements that are used in FolderDelete command requests and responses.

Element name

Scope

Reference

FolderDelete

Request and Response

section 2.2.3.73

SyncKey

Request and Response

section 2.2.3.181.1

ServerId

Request

section 2.2.3.166.3

Status

Response

section 2.2.3.177.4

The XML schema for the FolderDelete command request is described in section 6.11. The XML schema for the FolderDelete command response is described in section 6.12.

Protocol Versions

The following table specifies the protocol versions that support this command. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Command support

2.5

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes

Show: