Add content to Office 365 Teams app
Select
SaaS
Customer Managed
Add content to Office 365 Teams app
Path Parameters
- appId int32 required
Commvault teams app id
- application/json
Request Body
- type string required
Possible values: [
ALL_TEAMS
,ALL_USERS
,GROUP
]Default value:
ALL_TEAMS
group object
office365plan object required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/office365/teams/:appid/content
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Teams/:appId/Content' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"type": "ALL_TEAMS",
"group": {
"GUID": "string",
"name": "string"
},
"office365plan": {
"id": 0,
"name": "string"
}
}'