Skip to main content

Update Network

Updates the profile information for an existing ECGrid network.

Endpoint

PUT /v2/networks

Request Body

FieldTypeRequiredConstraintsDescription
networkIdintegerYesID of the network to update
companyNamestringNoLegal company name for the network
address1stringNoStreet address line 1
address2stringNoStreet address line 2 (suite, floor, etc.)
citystringNoCity
statestringNo2-char codeState or province abbreviation
zipstringNoPostal / ZIP code
phonestringNoPrimary contact phone number
websitestringNoValid URLPublic website URL
{
"networkId": 1001,
"companyName": "Acme Corporation",
"address1": "123 Commerce Way",
"address2": "Suite 400",
"city": "Chicago",
"state": "IL",
"zip": "60601",
"phone": "312-555-0100",
"website": "https://www.acme.example.com"
}

Response

Returns the updated NetworkIDInfo object reflecting the saved values.

{
"success": true,
"data": {
"networkId": 1001,
"uniqueId": "MYNETWORK",
"companyName": "Acme Corporation",
"status": "Active",
"created": "2020-03-15T08:00:00Z",
"modified": "2026-05-07T10:45:00Z"
},
"errorCode": null,
"message": null
}

Code Examples

curl -X PUT "https://rest.ecgrid.io/v2/networks" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "networkId": 1001, "companyName": "Acme Corporation", "address1": "123 Commerce Way", "address2": "Suite 400", "city": "Chicago", "state": "IL", "zip": "60601", "phone": "312-555-0100", "website": "https://www.acme.example.com" }'

See Also