Skip to main content

Delete Partner

Terminates an interconnect, permanently ending the EDI routing relationship between two trading partners.

Endpoint

DELETE /v2/partners/{id}
danger

Terminating an interconnect is irreversible. EDI routing between the two associated ECGrid IDs will stop immediately. Any in-flight parcels already submitted will continue processing, but no new EDI traffic will be routed between these partners.

Path Parameters

ParameterTypeRequiredDescription
idintegerYesThe numeric Interconnect/Partner ID to terminate

Response

Returns a success boolean confirming the termination.

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

Code Examples

curl -X DELETE "https://rest.ecgrid.io/v2/partners/$ID" \
-H "X-API-Key: $ECGRID_API_KEY"

See Also