# Update an event subscription (/api/event-subscriptions/update-event-subscription)

`POST https://api.comecero.com/api/v1/event_subscriptions/{event_subscription_id}`

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`).

## Parameters

- `event_subscription_id` (path, required): The event subscription id.

Request body: the `event_subscription_request` schema.

Responses: 201, 400, 401, 403, 404, 500.

Full schemas: operation `update_event_subscription` in /openapi.json.