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": "e5e831f3-a220-434e-82a5-4715909f5f03",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 638,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "fc9KHBTBb5tmQEFh",
"event_types": [],
"enabled": true,
"created_at": "2026-02-18T05:20:26.210-08:00",
"updated_at": "2026-02-18T05:20:27.380-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": "e5e831f3-a220-434e-82a5-4715909f5f03",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 638,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "fc9KHBTBb5tmQEFh",
"event_types": [],
"enabled": true,
"created_at": "2026-02-18T05:20:26.210-08:00",
"updated_at": "2026-02-18T05:20:27.380-08:00"
}
}
}