Add Office 365 Sharepoint sites
Select
SaaS
Customer Managed
Add sites to Office 365 SharePoint Online app
Path Parameters
- appId int32 required
Commvault sharepoint app id
- application/json
Request Body
office365Plan object required
- sites object[] required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/office365/sharepoint/:appid/sites
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Sharepoint/:appId/Sites' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"office365Plan": {
"id": 0,
"name": "string"
},
"sites": [
{
"GUID": "string",
"name": "string",
"url": "string",
"type": "REGULAR_SITE"
}
]
}'