I am using graph API to create/update/delete meetings in outlook calendar, currently I am able to do all of these but I want to cancel a meeting whenever a meeting declined from any one of the attendees, I am below API to get the events with a specific subject,
GET /users/{id | userPrincipalName}/calendars/{id}/events?$select=subject,attendees&$filter=startsWith(subject, 'My Subject')
I am getting below response
"attendees":[
{
"type":"required",
"status":{
"response":"none",
"time":"0001-01-01T00:00:00Z"
},
"emailAddress":{
"name":"Samantha Booth",
"address":"samanthab@a830edad905084922E17020313.onmicrosoft.com"
}
},
{
"type":"required",
"status":{
"response":"none",
"time":"0001-01-01T00:00:00Z"
},
"emailAddress":{
"name":"Dana Swope",
"address":"danas@a830edad905084922E17020313.onmicrosoft.com"
}
}
],
but one of the attendees has rejected the meeting but I am not receiving the updated status in the response. can someone help me in getting the updated attendee response status?