| 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 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Unarchive an archived fileStorageContainer.
This action updates the archivalDetails.
[!INCLUDE national-cloud-support]
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.
POST /storage/fileStorage/containers/{containerId}/unarchiveDon't supply a request body for this method.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
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.
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]
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