PATCH
/
api
/
v2
/
webhooks
/
{id}
curl --location --request PATCH 'https://app.govly.com/api/v2/webhooks/123' \
--header 'X-API-KEY: your-api-key' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true }'
204 No Content

Update Webhook

Path Parameters

id
string
required

The ID of the webhook to update

Request Body

enabled
boolean

Whether the webhook should be enabled or disabled

Example Request

curl --location --request PATCH 'https://app.govly.com/api/v2/webhooks/123' \
--header 'X-API-KEY: your-api-key' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true }'
curl --location --request PATCH 'https://app.govly.com/api/v2/webhooks/123' \
--header 'X-API-KEY: your-api-key' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true }'
204 No Content