delete-subscription
delete-subscriptionDelete a webhook subscription to stop change notifications and clean up stale subscriptions. Use this to halt notifications when no longer needed.
Instructions
Delete a subscription. For the list of resources that support subscribing to change notifications, see the table in the Permissions section.
š” TIP: Deletes a webhook subscription. No further change notifications will be sent. Use this to clean up stale subscriptions or stop receiving notifications. Use list-subscriptions to find the id.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subscriptionId": "<subscriptionId>"
},
"name": "delete-subscription"
}
}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 | |
| subscriptionId | Yes | Value for the 'subscriptionId' path segment. Pass it under the name 'subscriptionId', not as 'id'. Use the 'id' field of the subscription object as returned by Microsoft Graph. | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |