Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 826 Bytes

File metadata and controls

23 lines (18 loc) · 826 Bytes
description Automatically generated file. DO NOT MODIFY
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
from msgraph.generated.models.file_storage_container import FileStorageContainer
from msgraph.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,
	),
)

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