Skip to content

Instantly share code, notes, and snippets.

@maisarissi
Created December 7, 2023 22:23
Show Gist options
  • Save maisarissi/f533c4f8ef55b5c009ff24dca43e31d0 to your computer and use it in GitHub Desktop.
Save maisarissi/f533c4f8ef55b5c009ff24dca43e31d0 to your computer and use it in GitHub Desktop.
microsoftgraph-java-v6-backing-store
// get the object
Event event = graphClient
.me()
.events()
.byEventId("event-id")
.get();
// the backing store will keep track that the property change and send the updated value.
event.setRecurrence(null); // set to null
// update the object
graphClient.me()
.events()
.byEventId("event-id")
.patch(event);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment