var graphClient = new GraphServiceClient(requestAdapter);
await graphClient.Users["{user-id}"].Calendar.CalendarPermissions["{calendarPermission-id}"].DeleteAsync();
//THE GO SDK IS IN PREVIEW. NON-PRODUCTION USE ONLY
import (
"context"
msgraphsdk "github.com/microsoftgraph/msgraph-sdk-go"
//other-imports
)
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
graphClient.UsersById("user-id").Calendar().CalendarPermissionsById("calendarPermission-id").Delete(context.Background(), nil)
<?php
// THIS SNIPPET IS A PREVIEW FOR THE KIOTA BASED SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($requestAdapter);
$graphServiceClient->usersById('user-id')->calendar()->calendarPermissionsById('calendarPermission-id')->delete();