Skip to main content

Update Comm Config

Updates the extended configuration settings of a communication channel, such as connection parameters, authentication details, and protocol-specific options.

Endpoint​

PUT /v2/comms/update-config

Request Body​

FieldTypeRequiredConstraintsDescription
commIdintegerYesMust be an existing Comm IDUnique identifier of the communication channel to configure

Additional configuration fields vary by commType. Submit only the fields applicable to the channel's protocol. Omitted fields retain their current values.

{
"commId": 5001
}

Response​

Returns a success boolean confirming the configuration was updated.

{
"success": true,
"data": true
}

Code Examples​

curl -X PUT "https://rest.ecgrid.io/v2/comms/update-config" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "commId": 5001 }'

See Also​