Skip to main content

Update Network Config

Updates the operational configuration settings for a network, such as timeout and processing behavior flags.

Endpoint

POST /v2/networks/update-config

Request Body

FieldTypeRequiredConstraintsDescription
networkIdintegerYesID of the network to configure

Additional configuration fields are network-specific. Contact ECGrid support or refer to the live Swagger UI for the full field list applicable to your account tier.

{
"networkId": 1001
}

Response

Returns a success indicator confirming the configuration was saved.

{
"success": true,
"data": null,
"errorCode": null,
"message": "Network configuration updated."
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/networks/update-config" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "networkId": 1001 }'

See Also