Update an outgoing webhook of an app
Update an existing outgoing webhook (URL, events, secrets and headers) for a specified Bitrise app. Even if you do not want to change one of the parameters, you still have to provide that parameter as well: simply use its existing value.
Path parameters
-
app-slug
string Required App slug
-
app-webhook-slug
string Required App webhook slug
PUT
/apps/{app-slug}/outgoing-webhooks/{app-webhook-slug}
curl \
--request PUT 'https://api.bitrise.io/v0.1/apps/{app-slug}/outgoing-webhooks/{app-webhook-slug}' \
--header "Authorization: $API_KEY" \
--data '{"events":["string"],"headers":{},"url":"string"}'
Request examples
{
"events": [
"string"
],
"headers": {},
"url": "string"
}
Response examples (200)
{
"data": {
"created_at": "string",
"events": [
"string"
],
"headers": {},
"registered_by_addon": true,
"slug": "string",
"updated_at": "string",
"url": "string"
}
}
Response examples (400)
{
"message": "string"
}
Response examples (401)
{
"message": "string"
}
Response examples (404)
{
"message": "string"
}
Response examples (500)
{
"message": "string"
}