delete-contact-folder
delete-contact-folderRemove a non-default contact folder from Microsoft 365 and move it to Deleted Items. Requires the folder ID from list-contact-folders.
Instructions
Delete contactFolder other than the default contactFolder.
š” TIP: Deletes a contact folder. The default 'Contacts' folder cannot be deleted ā Graph returns an error. The folder (and its contents) typically lands in Deleted Items rather than being permanently removed. Get the folder id via list-contact-folders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | For destructive operations when the confirm gate is enabled (MS365_MCP_REQUIRE_CONFIRM=true; off by default). Set to true only after the user has explicitly approved this action. When the gate is on, calls without confirm: true return { error: "confirmation_required" } without touching user data. | |
| If-Match | No | ETag | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| contactFolderId | Yes | Path parameter: contactFolderId | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |