Pulsarr

Update webhook endpoint

PUT
/v1/webhooks/endpoints/{id}

Update an existing webhook endpoint

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Path Parameters

id*number

Request Body

Changes to a native webhook endpoint, null clears a header

application/json
  1. body

Changes to a native webhook endpoint, null clears a header

name?string
Length1 <= length <= 100
url?string
authHeaderName?|null
authHeaderValue?|null
eventTypes?array<>
Items1 <= items
enabled?boolean

Response Body

Default Response

application/json
  1. response

One native webhook endpoint

success*boolean
data*

A native webhook endpoint, auth header value included

Example Request
curl -X PUT 'http://localhost:3003/v1/webhooks/endpoints/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "success": true,  "data": {    "id": 0,    "name": "string",    "url": "string",    "authHeaderName": "string",    "authHeaderValue": "string",    "eventTypes": [      "media.available"    ],    "enabled": true,    "createdAt": "string",    "updatedAt": "string"  }}