---
title: "Update a REST Hook subscription"
method: PATCH
path: "/orgs/{orgId}/subscriptions/{subscriptionId}"
tags: ["orgs/subscriptions"]
---

# Update a REST Hook subscription

`PATCH /orgs/{orgId}/subscriptions/{subscriptionId}`

__JWT is required for this endpoint with at least one of the following scopes__: o{params.orgId}-configurations:w,o{params.orgId}-outboundWebhooks:w,o:w,s-o:w<br/><br/>__Endpoint name__: updateSubscription

## Path parameters

- `orgId` integer, required
- `subscriptionId` integer, required

## Request body

- object
  - `hookEventId` integer
  - `hookEventName` string
  - `targetUrl` string
  - `hookActionId` integer
  - `isBlocking` boolean
  - `isVisible` boolean
  - `name` string
  - `description` string, nullable
  - `handlerHookEventLocationId` integer

## Response `204`

No Content

---

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