Skip to content

Latest commit

 

History

History
110 lines (77 loc) · 3.99 KB

File metadata and controls

110 lines (77 loc) · 3.99 KB
title fileStorageContainer: unarchive
description Unarchive an archived fileStorageContainer.
author singhman-msft
ms.date 11/15/2024
ms.localizationpriority medium
ms.subservice onedrive
doc_type apiPageType

fileStorageContainer: unarchive

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Unarchive an archived fileStorageContainer.

This action updates the archivalDetails.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE app-permissions]

Note

When delegated permissions are used, only members who are assigned the PrincipalOwner or Owner role can call this method.

HTTP request

POST /storage/fileStorage/containers/{containerId}/unarchive

Request body

Don't supply a request body for this method.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Response

If successful, this method returns a 202 Accepted response code. The response also contains a Location header, which contains the location of the container that is unarchived. To check the status of the unarchive operation, make a GET request to the location URL.

Examples

Request

The following example shows a request.

POST https://graph.microsoft.com/beta/storage/fileStorage/containers/b!d2XNj_LW80yZbxDjj4Uj4E1ZFa6_76xEroXu_lX_DFE59ZD-2EcGRZlA0R8Vm3f0/unarchive

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 202 Accepted
Location: https://graph.microsoft.com/beta/storage/fileStorage/containers/b!d2XNj_LW80yZbxDjj4Uj4E1ZFa6_76xEroXu_lX_DFE59ZD-2EcGRZlA0R8Vm3f0