Skip to main content

Perform Office 365 Onedrive Restore

Select

SaaS
Customer Managed

Perform Office 365 Onedrive Restore

Path Parameters
  • appId int32 required

    Commvault Onedrive app id

Request Body
  • ifFileExists string

    Possible values: [SKIP, UNCONDITIONALLY_OVERWRITE, RESTORE_AS_COPY]

    Default value: SKIP

  • deletedItems boolean

    Include deleted items on Restore

  • matchEmailAddress boolean

    Match destination user based on the email address

  • skipFilePermissions boolean

    Default value: true

    Skip Onedrive file permissions during restore

  • users object[]
  • GUID string
  • name string
  • groups object[]
  • GUID string
  • name string
Responses

OK


Schema
  • taskId int32
  • jobIds string[]

    JobIds for the immediate run request

POST /v4/office365/onedrive/:appid/restore    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
appId — path required
Body

{
"ifFileExists": "SKIP",
"deletedItems": true,
"matchEmailAddress": true,
"skipFilePermissions": true,
"users": [
{
"GUID": "string",
"name": "string"
}
],
"groups": [
{
"GUID": "string",
"name": "string"
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/OneDrive/:appId/Restore' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ifFileExists": "SKIP",
"deletedItems": true,
"matchEmailAddress": true,
"skipFilePermissions": true,
"users": [
{
"GUID": "string",
"name": "string"
}
],
"groups": [
{
"GUID": "string",
"name": "string"
}
]
}'