Endpoint deleted
SSE event emitted when one of the application's endpoints is deleted
event: ENDPOINT_DELETEDEmitted 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
| Field | Type | Required | Description |
|---|---|---|---|
event_type | string (ENDPOINT_DELETED) | yes | Discriminator; matches the event: line. |
id | UUID | yes | agrirouter-internal ID of the deleted endpoint. |
external_id | string | yes | The 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"}