---
title: "Update Exclusion"
method: PATCH
path: "/inbox/exclusions/{exclusion_id}"
tags: ["inbox"]
---

# Update Exclusion

`PATCH /inbox/exclusions/{exclusion_id}`

## Request

- Base URL: `https://api.reeldrop.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.reeldrop.io/inbox/exclusions/{exclusion_id}`
- Auth: HTTP bearer

Change what is kept away from someone. Turning on "hide from inbox" deletes their thread.

## Path parameters

- `exclusion_id` string, required

## Query parameters

- `workspace_id` string, nullable: Workspace this request applies to. Defaults to the caller's personal workspace. Must be one the caller belongs to.

## Request body

- ExclusionSwitches: What to keep away from them (models/inbox.InboxExclusion). An omitted switch keeps its current value, or the default on a new exclusion.
  - `hide_from_inbox` boolean, nullable
  - `block_dm_automations` boolean, nullable
  - `block_ai_replies` boolean, nullable
  - `block_comment_automations` boolean, nullable

## Response `200`

Successful Response

- ExclusionOut
  - `id` string, required
  - `username` string, nullable
  - `name` string, nullable
  - `created_at` string, date-time, required
  - `pending` boolean
  - `hide_from_inbox` boolean
  - `block_dm_automations` boolean
  - `block_ai_replies` boolean
  - `block_comment_automations` boolean
  - `threads_deleted` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/reeldrop/apis/reeldrop-api.md) · [All operations](https://skmtc.dev/reeldrop/apis/reeldrop-api/llms.txt) · [OpenAPI document](https://skmtc.dev/reeldrop/apis/reeldrop-api/revisions/d3b2a338556c?raw)
