Skip to main content

Update Cloud Metrics Reporting Configuration

Select

SaaS
Customer Managed

This operation updates the configuration for Cloud Metrics Reporting. More Details

Request Body
  • config object
  • commcellDiagUsage boolean
  • clientGroupList object[]
  • _type_ integer
  • clientGroupId integer
  • cloud object
  • serviceList object[]
  • flags integer
  • description string
  • enabled boolean
  • service object
  • id integer
Responses

OK


Schema
  • errorMessage string
  • errorCode integer
POST /commserv/metricsreporting    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"config": {
"commcellDiagUsage": true,
"clientGroupList": [
{
"_type_": 0,
"clientGroupId": 0
}
],
"cloud": {
"serviceList": [
{
"flags": 0,
"description": "string",
"enabled": true,
"service": {
"id": 0
}
}
]
}
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/CommServ/MetricsReporting' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"config": {
"commcellDiagUsage": true,
"clientGroupList": [
{
"_type_": 0,
"clientGroupId": 0
}
],
"cloud": {
"serviceList": [
{
"flags": 0,
"description": "string",
"enabled": true,
"service": {
"id": 0
}
}
]
}
}
}'