Update a specific webhook endpoint by id
curl --request PUT \
--url https://api.rootly.com/v1/webhooks/endpoints/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "webhooks_endpoints",
"attributes": {
"name": "<string>",
"event_types": [
"incident.created"
],
"enabled": true
}
}
}'
{
"data": {
"id": "4b819b0b-c98a-4449-8155-39415553f5df",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 414,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "rYBvFybiyyddyVFS",
"event_types": [],
"enabled": true,
"created_at": "2025-07-05T07:49:46.515-07:00",
"updated_at": "2025-07-05T07:49:47.866-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
webhooks_endpoint updated
The response is of type object
.
Was this page helpful?
curl --request PUT \
--url https://api.rootly.com/v1/webhooks/endpoints/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "webhooks_endpoints",
"attributes": {
"name": "<string>",
"event_types": [
"incident.created"
],
"enabled": true
}
}
}'
{
"data": {
"id": "4b819b0b-c98a-4449-8155-39415553f5df",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 414,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "rYBvFybiyyddyVFS",
"event_types": [],
"enabled": true,
"created_at": "2025-07-05T07:49:46.515-07:00",
"updated_at": "2025-07-05T07:49:47.866-07:00"
}
}
}