---
title: "Updates a subscription"
method: PUT
path: "/api/notifications/subscriptions"
tags: ["Notification"]
---

# Updates a subscription

`PUT /api/notifications/subscriptions`

## Request

- Base URL: `https://sky.coflnet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sky.coflnet.com/api/notifications/subscriptions`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `GoogleToken`

## Request body

- PublicSubscription
  - `sourceType` 'Unknwon' | 'Any' | 'Bazaar' | 'BazaarExpire' | 'Subscription' | 'Purchase' | 'McVerify' | 'Lowball'
  - `id` integer, required
  - `sourceSubIdRegex` string, nullable
  - `targets` TargetLink[], nullable
    - `name` string, nullable
    - `id` integer, required
    - `priority` integer, required
    - `isDisabled` boolean, required

## Response `200`

OK

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-10-21** `4db31631a077`: 4 info
  - added the new `Lowball` enum value to the request property `sourceType` (media type: application/json-patch+json)
  - added the new `Lowball` enum value to the request property `sourceType` (media type: application/json)
  - added the new `Lowball` enum value to the request property `sourceType` (media type: text/json)
  - added the new `Lowball` enum value to the request property `sourceType` (media type: application/*+json)
- **2026-08-04** `41f7cdd4406b`: 16 breaking, 4 info
  - the request property `id` became required (media type: application/json-patch+json)
  - the request property `id` became required (media type: application/json)
  - the request property `id` became required (media type: text/json)
  - the request property `id` became required (media type: application/*+json)
  - …16 more
- **2024-02-22** `b0b46324e1f1`: 4 info
  - added the new optional request property `targets/items/id` (media type: application/json-patch+json)
  - added the new optional request property `targets/items/id` (media type: application/json)
  - added the new optional request property `targets/items/id` (media type: text/json)
  - added the new optional request property `targets/items/id` (media type: application/*+json)
- **2024-01-10** `64a743ab7c2a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/notifications/subscriptions/put.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
