Skip to main content
PATCH
/
webhooks
/
{id}
Update webhook endpoint
curl --request PATCH \
  --url https://api.allcovered.xyz/v1/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>",
  "description": "<string>",
  "filter_types": [
    "<string>"
  ],
  "disabled": true
}
'
{
  "data": {
    "id": "<string>",
    "url": "<string>",
    "description": "<string>",
    "filter_types": [
      "<string>"
    ],
    "disabled": true,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}
Update a webhook endpoint.

Authorizations

Authorization
string
header
required

API key from StableBase dashboard

Path Parameters

id
string<uuid>
required

Resource ID

Body

application/json
url
string<uri>
description
string
filter_types
string[]
disabled
boolean

Response

Webhook endpoint updated

data
object
required