var graphClient = new GraphServiceClient(requestAdapter);
await graphClient.RoleManagement.Directory.RoleAssignments["{unifiedRoleAssignment-id}"].DeleteAsync();
//THE GO SDK IS IN PREVIEW. NON-PRODUCTION USE ONLY
graphClient := msgraphsdk.NewGraphServiceClientWithCredentials(cred, scopes)
graphClient.RoleManagement().Directory().RoleAssignmentsById("unifiedRoleAssignment-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->roleManagement()->directory()->roleAssignmentsById('unifiedRoleAssignment-id')->delete();