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": "a89e292c-77b6-48dc-88fb-b0ea8cfe519f",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 565,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "hy3vKtCxsDwgfaF8",
"event_types": [],
"enabled": true,
"created_at": "2026-01-28T14:53:00.057-08:00",
"updated_at": "2026-01-28T14:53:02.134-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": "a89e292c-77b6-48dc-88fb-b0ea8cfe519f",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 565,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "hy3vKtCxsDwgfaF8",
"event_types": [],
"enabled": true,
"created_at": "2026-01-28T14:53:00.057-08:00",
"updated_at": "2026-01-28T14:53:02.134-08:00"
}
}
}