Perform Office 365 Teams Restore
Select
SaaS
Customer Managed
Perform Office 365 Teams Restore
Path Parameters
- appId int32 required
Commvault Teams app id
- application/json
Request Body
- ifFileExists string
Possible values: [
SKIP
,UNCONDITIONALLY_OVERWRITE
]Default value:
SKIP
- deletedItems boolean
Include deleted items on Restore
users object[]
destinationUserInfo object
teams object[]
category object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- taskId int32
- jobIds string[]
JobIds for the immediate run request
{
"taskId": 0,
"jobIds": [
"string"
]
}
POST /v4/office365/teams/:appid/restore
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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"
}
]
}
}'
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"
}
]
}
}'
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"
}
]
}
}'
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"
}
]
}
}'
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"
}
]
}
}'
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"
}
]
}
}'
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"
}
]
}
}'