Skip to main content
PATCH
/
config
/
webhooks
/
{id}
Update a webhook endpoint
curl --request PATCH \
  --url https://api.vocobase.com/api/v2/config/webhooks/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enabled": false
}
'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "label": "<string>",
    "url": "<string>",
    "enabled": true,
    "last_delivery_at": "2023-11-07T05:31:56Z",
    "last_delivery_status": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.vocobase.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Path Parameters

id
string<uuid>
required

Webhook endpoint ID.

Body

application/json
label
string

New endpoint label. The reserved default label cannot be assigned manually.

Pattern: ^[a-z0-9][a-z0-9-]{0,30}$
url
string<uri>

New HTTPS webhook URL.

enabled
boolean

Whether this endpoint should receive new webhook events.

Response

Webhook endpoint updated.

success
boolean
data
object