---
title: "Patch Subscription"
method: PATCH
path: "/v1/streams/{sub_id}"
tags: ["streams"]
---

# Patch Subscription

`PATCH /v1/streams/{sub_id}`

## Request

- Base URL: `https://api.bitpoort.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.bitpoort.com/v1/streams/{sub_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `sub_id` integer, required

## Request body

- PatchSubscription
  - `name` string, nullable
  - `target_url` string, nullable
  - `filter` object, nullable
  - `active` boolean, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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