Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 919 Bytes

File metadata and controls

24 lines (19 loc) · 919 Bytes
description Automatically generated file. DO NOT MODIFY
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.file_storage_container import FileStorageContainer
from msgraph_beta.generated.models.file_storage_container_settings import FileStorageContainerSettings
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = FileStorageContainer(
	display_name = "Updated Name",
	description = "Updated Description",
	settings = FileStorageContainerSettings(
		is_ocr_enabled = False,
		item_default_sensitivity_label_id = "3d8789ae-7375-4ded-8eeb-d6bc226e42fb",
	),
)

result = await graph_client.storage.file_storage.containers.by_file_storage_container_id('fileStorageContainer-id').patch(request_body)