Skip to main content

Update Comm

Updates the identifier or status of an existing communication channel.

Endpoint

PUT /v2/comms/update

Request Body

FieldTypeRequiredConstraintsDescription
commIdintegerYesMust be an existing Comm IDUnique identifier of the communication channel to update
identifierstringNoNew channel-specific identifier (AS2 ID, FTP username, etc.)
statusStatusNoSee ENUMsNew status for the channel (e.g., Active, Suspended)
{
"commId": 5001,
"identifier": "MYCOMPANY-AS2-NEW",
"status": "Active"
}

Response

Returns the updated CommIDInfo object.

{
"success": true,
"data": {
"commId": 5001,
"mailboxId": 101,
"commType": "as2",
"identifier": "MYCOMPANY-AS2-NEW",
"status": "Active",
"useType": "Production",
"privateKeyRequired": true,
"withCerts": true
}
}

ENUMs

This endpoint uses the Status ENUM. See ENUMs Reference for all valid values.

Code Examples

curl -X PUT "https://rest.ecgrid.io/v2/comms/update" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "commId": 5001, "identifier": "MYCOMPANY-AS2-NEW", "status": "Active" }'

See Also