---
title: "Update Event Subscription"
method: PATCH
path: "/event_subscriptions/{id}"
tags: ["event_subscriptions", "Event Subscriptions"]
---

# Update Event Subscription

`PATCH /event_subscriptions/{id}`

Update Event Subscription

## Path parameters

- `id` integer, required

## Response `200`

The EventSubscriptions object.

- EventSubscriptionEntity — EventSubscriptionEntity model
  - `id` integer — Event Subscription ID
  - `event_channel_id` integer — Event Channel ID
  - `workspace_id` integer — Workspace ID. 0 means the default workspace or site-wide.
  - `apply_to_all_workspaces` boolean — If true, this default-workspace subscription applies to events from all workspaces.
  - `name` string — Event Subscription name.
  - `enabled` boolean — Whether this Event Subscription can dispatch events.
  - `event_types` string[] — Event type strings matched by this subscription. Blank means all event types.
  - `filter` object — Structured event payload filter.
  - `delivery_policy` object — Event Subscription delivery policy.
  - `event_target_ids` integer[] — Event Target IDs this subscription sends to.
  - `created_at` string, date-time — Event Subscription create date/time.
  - `updated_at` string, date-time — Event Subscription update date/time.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Conflict
- `412` — Precondition Failed
- `422` — Unprocessable Entity
- `423` — Locked
- `429` — Too Many Requests

---

[API](https://skmtc.net/files/apis/files-com-api.md) · [All operations](https://skmtc.net/files/apis/files-com-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/files/files-com-api/versions/c80c746637fd/schema)
