Forum Discussion
ChenguangHe
Nov 08, 2022Brass Contributor
Question about subscription length
Hi, I want to keep a change notification subscription to calendar and online meeting resource being updated every day(firstly created a subscription with 24 hours length and set expire time in next 2...
Prasad_Das-MSFT
Microsoft
Nov 08, 2022ChenguangHe - You can renew a subscription with a specific expiration date of up to three days only from the time of request. The expirationDateTime
property is required.
PATCH https://graph.microsoft.com/v1.0/subscriptions/{id}
Content-Type: application/json
{
"expirationDateTime": "2022-10-22T11:00:00.0000000Z"
}
If successful, Microsoft Graph returns a 200 OK
code and a subscription object in the body. The subscription object includes the new expirationDateTime
value.
Thanks,
Prasad Das
--------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.