Skip to content

Latest commit

 

History

History
144 lines (109 loc) · 5.12 KB

File metadata and controls

144 lines (109 loc) · 5.12 KB
title Update customDataProvidedResourceUploadSession
description Update the properties of a customDataProvidedResourceUploadSession object.
author pratima-cloudknox
ms.date 10/09/2025
ms.localizationpriority medium
ms.subservice entra-id-governance
doc_type apiPageType

Update customDataProvidedResourceUploadSession

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Update the properties of a customDataProvidedResourceUploadSession created for a customDataProvidedResource object.

[!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 rbac-entitlement-catalog-owner-write]

HTTP request

PATCH /identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalogId}/accessPackageResources/{accessPackageResourceId}/uploadSessions/{customDataProvidedResourceUploadSessionId}

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.
Content-Type application/json. Required.

Request body

[!INCLUDE table-intro]

Property Type Description
isUploadDone Boolean Whether the upload session is completed. Required.

Response

If successful, this method returns a 200 OK response code and an updated customDataProvidedResourceUploadSession object in the response body. The only allowed update is to set isUploadDone to true.

Examples

Request

The following example shows a request.

PATCH https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageCatalogs/73eb2497-3b88-4c0a-8bb3-68ba8162beff/accessPackageResources/99ab2454-3b88-4c0a-8bb3-68ba8162beff/uploadSessions/23f27c15-72f9-45fe-9e9c-e3d8f75bdc44
Content-Type: application/json

{
  "isUploadDone": true
}

[!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.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
    "id": "23f27c15-72f9-45fe-9e9c-e3d8f75bdc44",
    "status": "Complete",
    "isUploadDone": true,
    "stats": {
        "filesUploaded": 1,
        "totalBytesUploaded": 2000000,
    },
    "files": [
      {
          "name": "building-a-access.csv",
          "size": 2000000,
          "uploadedDateTime": "2024-03-06T01:35:12.123Z"
      }
    ],
    "createdDateTime": "2024-03-06T01:35:12.123Z",
    "expirationDateTime": "2024-03-07T01:35:12.123Z"
}