Skip to main content

Perform Office 365 Teams Restore

Select

SaaS
Customer Managed

Perform Office 365 Teams Restore

Path Parameters
  • appId int32 required

    Commvault Teams app id

Request Body
  • ifFileExists string

    Possible values: [SKIP, UNCONDITIONALLY_OVERWRITE]

    Default value: SKIP

  • deletedItems boolean

    Include deleted items on Restore

  • users object[]

    List of Teams Users for Restore

  • GUID string
  • name string
  • destinationUserInfo object
  • emailAddress string required

    Destination Onedrive user email address

  • GUID string required

    Destination Onedrive user GUID

  • teams object[]

    List of Teams for Restore

  • GUID string
  • name string
  • category object
  • GUID string

    Custom category GUID(Optional)

  • conditions object[]

    Conditions for custom category.

  • ruleOperator string required

    Possible values: [CONTAINS, REGEX, STARTS_WITH, ENDS_WITH, BEFORE, AFTER, ON_OR_BEFORE, ON_OR_AFTER, LESS, GREATER, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUALS, NOT_EQUAL]

    Operator of the custom category condition.

  • ruleValue string required

    Value of the custom category condition rule.

  • ruleName string required

    Possible values: [TEAM_CREATED_TIME, TEAM_DISPLAY_NAME, TEAM_SMTP_ADDRESS, GROUP_OPEN_EXTENSION]

    Teams custom category rule name.

  • openExtensionName string

    Name value of open extension if rule name is GROUP_OPEN_EXTENSION

Responses

OK


Schema
  • taskId int32
  • jobIds string[]

    JobIds for the immediate run request

POST /v4/office365/teams/: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,
"users": [
{
"GUID": "string",
"name": "string"
}
],
"destinationUserInfo": {
"emailAddress": "string",
"GUID": "string"
},
"teams": [
{
"GUID": "string",
"name": "string"
}
],
"category": {
"GUID": "string",
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "TEAM_CREATED_TIME",
"openExtensionName": "string"
}
]
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Restore' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"ifFileExists": "SKIP",
"deletedItems": true,
"users": [
{
"GUID": "string",
"name": "string"
}
],
"destinationUserInfo": {
"emailAddress": "string",
"GUID": "string"
},
"teams": [
{
"GUID": "string",
"name": "string"
}
],
"category": {
"GUID": "string",
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "TEAM_CREATED_TIME",
"openExtensionName": "string"
}
]
}
}'