Update Cloud Metrics Reporting Configuration
This operation updates the configuration for Cloud Metrics Reporting. More Details
- application/json
Request Body
config object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "string",
"errorCode": 0
}
POST /commserv/metricsreporting
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'
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
}
}
]
}
}
}'