Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,626 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
Is there any trigger available when a event in outlook is deleted?
We are looking to call a webhook when a event is deleted in outlook, any suggestions
Hello Utkarsh,
you can create graph "deleted" subscription events as below. please refer this documentation https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http#contact-event-and-message
POST https://graph.microsoft.com/v1.0/subscriptions
Content-type: application/json
{
"changeType": "Deleted",
"notificationUr:"{notification_url}",
"resource": "users/{user_id}/events",
"expirationDateTime": "2024-04-30T00:00:00Z",
"clientState": "secretClientValue"
}