Skip to main content

Update webhook

Update a webhook.

Path Parameters
    id string required

    The webhook id to update.

Request Body required
    body object
    url URL to send the webhook to (valid absolute URI via RFC 3986)
    description string
    subscribed_events string[]
    headers object
    property name* string
    state string
    metadata object
Responses

A successful response.


Schema
    webhook object
    id string
    description string
    url string
    subscribed_events string[]
    headers object
    property name* string
    secrets object[]
  • Array [
  • id string
    value string
  • ]
  • state string
    metadata object
    created_at date-time
    updated_at date-time
PUT /v1beta1/admin/webhooks/:id

Authorization

name: Basic type: httpdescription: use Client ID as username and Client Secret as passwordin: headerscheme: basic

Request

Base URL
http://127.0.0.1:7400
Security Scheme
Username
Password
id — path required
Body required
{
"body": {
"url": "string",
"description": "string",
"subscribed_events": [
"string"
],
"headers": {},
"state": "string",
"metadata": {}
}
}
curl / cURL
curl -L -X PUT 'http://127.0.0.1:7400/v1beta1/admin/webhooks/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"body": {
"url": "string",
"description": "string",
"subscribed_events": [
"string"
],
"headers": {},
"state": "string",
"metadata": {}
}
}'