update-subscription
Extend the expiration of a Microsoft Graph webhook subscription by specifying a new expiry date, ensuring continuous change notifications without disruption.
Instructions
Renew a subscription by extending its expiry time. The table in the Permissions section lists the resources that support subscribing to change notifications. Subscriptions expire after a length of time that varies by resource type. In order to avoid missing change notifications, an app should renew its subscriptions well in advance of their expiry date. See subscription for maximum length of a subscription for each resource type.
💡 TIP: Renews a webhook subscription by extending its expiration. Body: { expirationDateTime (ISO 8601, new expiry) }. Call before the current expirationDateTime to avoid missing notifications. Max extension varies by resource type — check Microsoft Graph docs for subscription limits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| subscriptionId | Yes | Path parameter: subscriptionId | |
| includeHeaders | No | Include response headers (including ETag) in the response metadata | |
| excludeResponse | No | Exclude the full response body and only return success or failure indication |