var graphClient = new GraphServiceClient(requestAdapter);
await graphClient.Teams["{team-id}"].Schedule.TimeOffRequests["{timeOffRequest-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.TeamsById("team-id").Schedule().TimeOffRequestsById("timeOffRequest-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->teamsById('team-id')->schedule()->timeOffRequestsById('timeOffRequest-id')->delete();