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": "e0045c4d-06e8-43ab-a375-cd72d199c8be",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 526,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "AEs99ULHcQQfYkKS",
"event_types": [],
"enabled": true,
"created_at": "2026-01-08T06:26:04.774-08:00",
"updated_at": "2026-01-08T06:26:05.502-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": "e0045c4d-06e8-43ab-a375-cd72d199c8be",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 526,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "AEs99ULHcQQfYkKS",
"event_types": [],
"enabled": true,
"created_at": "2026-01-08T06:26:04.774-08:00",
"updated_at": "2026-01-08T06:26:05.502-08:00"
}
}
}