4.14.2.1 Request
The following example shows a FolderDelete command request (section 2.2.1.4) that is sent from the client to the server to delete a folder. The folderhierarchy:SyncKey element (section 2.2.3.181.1) value in the request is set to 2, which is the folderhierarchy:SyncKey element value returned in the last FolderCreate response (section 4.14.1.2). The folderhierarchy:ServerId element (section 2.2.3.166.3) value identifies which folder to delete.
-
<?xml version="1.0" encoding="utf-8"?> <FolderDelete xmlns="FolderHierarchy"> <SyncKey>2</SyncKey> <ServerId>13</ServerId> </FolderDelete>