Add Office 365 Exchange Custom Category
Select
SaaS
Customer Managed
Add Office 365 Exchange Custom Category
Path Parameters
- appId int32 required
Commvault Exchange app id
- application/json
Request Body
- name string required
Name of the custom category.
office365Plan object required
- conditions object[] required
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/office365/exchange/:appid/content/customcategory
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Office365/Exchange/:appId/Content/CustomCategory' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"office365Plan": {
"id": 0,
"name": "string"
},
"conditions": [
{
"ruleOperator": "CONTAINS",
"ruleValue": "string",
"ruleName": "LICENSE"
}
]
}'