Docs

Endpoint deleted

SSE event emitted when one of the application's endpoints is deleted

event: ENDPOINT_DELETED

Emitted when one of the application's endpoints is deleted, either by the application itself calling DELETE /endpoints/{externalId} or by the account owner removing it from the agrirouter UI. Clean up any local state tied to the endpoint on this event.

Data fields

FieldTypeRequiredDescription
event_typestring (ENDPOINT_DELETED)yesDiscriminator; matches the event: line.
idUUIDyesagrirouter-internal ID of the deleted endpoint.
external_idstringyesThe external ID the application supplied when creating the endpoint.

Sample frame

event: ENDPOINT_DELETED
data: {"event_type":"ENDPOINT_DELETED","id":"9f8e7d6c-5b4a-3210-fedc-ba0987654321","external_id":"urn:my-app:endpoint:42"}

See also

On this page