(GET) /Organizations/{organizationId}/Users/{userId}/OneDrives
Returns a resource representation of organization users OneDrive components.
Request
To get a resource representation of organization users OneDrive components, send the GET HTTPS request to the URL of the /Organizations/{organizationId}/Users/{userId}/OneDrives resource:
HTTPS Request
GET https://<Backup-Office365>:4443/v3/Organizations/{organizationId}/Users/{userId}/OneDrives |
Request Headers
The request header must contain the authorization token for the current logon session.
Request Body
None.
Response
The server returns the following response to the client.
Response Codes
A successfully completed operation returns response code 200 OK.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTPS headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Response Body
In the response body, the server returns a representation of the /Organizations/{organizationId}/Users/{userId}/OneDrives resource.
Example
Request: GET https://support.east.local:4443/v3/Organizations/92460656-7a85-4a04-b1af-1ea903c0bc2e/Users/5c5fe7b7-d240-49c9-a5ee-2d96d47bf72d00000000-0000-0000-0000-000000000000/OneDrives
Request Header: Authorization: Bearer <Access-Token>
Response: 200 OK [ { "id": "b4893c84-2d65-4882-8d0a-eb81fbd5f42eaade5e27-92a0-40f8-9086-e9a43e715514", "name": "sharedmailboxod", "url": "https://backup-my.sharepoint.com/personal/sharedmailboxod_backup_onmicrosoft_com", "_links": { "self": { "href": "https://support.east.local:4443/v3/organizations/92460656-7a85-4a04-b1af-1ea903c0bc2e/users/5c5fe7b7-d240-49c9-a5ee-2d96d47bf72d00000000-0000-0000-0000-000000000000/onedrives/b4893c84-2d65-4882-8d0a-eb81fbd5f42eaade5e27-92a0-40f8-9086-e9a43e715514" }, "user": { "href": "https://support.east.local:4443/v3/organizations/92460656-7a85-4a04-b1af-1ea903c0bc2e/users/5c5fe7b7-d240-49c9-a5ee-2d96d47bf72d00000000-0000-0000-0000-000000000000" } } }, …] |