v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
Webhooks

Update the Webhook for an environment

put/environments/{environmentId}/webhooks/{webhookId}

Path parameters

environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of the environment

webhookIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

UUID of the webhook

Request body

urlstring required
isEnabledboolean required
eventsstring[] required

Example request

{
  "url": "https://website-sample.com"
}

Response

Webhook for this project environment

environmentIdstring required
webhookIdstring required
urlstring required
secretstring
versionstring
eventsstring[] required
isEnabledboolean required
enabledAtstring date-time
createdAtstring date-time required
updatedAtstring date-time required

Example response

{
  "environmentId": "95b11417-f18f-457f-8804-68e361f9164f",
  "webhookId": "95b11417-f18f-457f-8804-68e361f9164f",
  "url": "https://website-sample.com"
}