Delete an event subscription
Deletes the event subscription. No new events are made for it. Fires the event_subscription:deleted event. Secret and trusted tokens may call it; a limited token may not (403).
AuthorizationBearer <token>A secret, trusted or limited token. See Authentication.
event_subscription_id*stringThe event subscription id.
The event subscription was deleted. There is no body.
curl -X DELETE 'https://api.comecero.com/api/v1/event_subscriptions/string'Update an event subscription POST
Changes the fields you send and leaves the others as they are. Send `active: false` to pause deliveries. Events already made keep the data they were made with, but are sent with the subscription's current destination and settings. Fires the `event_subscription:modified` event. Answers `201`, not `200`. Secret and trusted tokens may call it; a limited token may not (`403`).
Send a test event POST
Sends one sample event to the subscription's destination now and says whether it got through. The sample `data` comes from an event test template: a saved example payload for one event type, either one of Comecero's or one made in the dashboard (Developer, Event Subscriptions). The template's event type must match the subscription's `event_type` (`400`). The event is signed and shaped like a real one (`show` and `hide` apply; `expand` does not, since the sample is sent as saved), but it is not saved, so it is not in `/events` and is never retried. It is sent even when the subscription is inactive. No body is needed. Secret and trusted tokens may call it; a limited token may not (`403`).