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": "b44829aa-1ad5-40d7-aafb-e0af1dd82afd",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 526,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "4Ju44N5EJYoLNZCZ",
"event_types": [],
"enabled": true,
"created_at": "2026-01-07T12:03:53.595-08:00",
"updated_at": "2026-01-07T12:03:54.572-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
webhooks_endpoint updated
Show child attributes
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": "b44829aa-1ad5-40d7-aafb-e0af1dd82afd",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 526,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "4Ju44N5EJYoLNZCZ",
"event_types": [],
"enabled": true,
"created_at": "2026-01-07T12:03:53.595-08:00",
"updated_at": "2026-01-07T12:03:54.572-08:00"
}
}
}