Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
webhooks_endpoint updated
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": "0934bb9b-28c4-4619-8fa6-a682939fd457",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 423,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "ZmLRC6WEv9PuSDcx",
"event_types": [],
"enabled": true,
"created_at": "2025-09-18T09:23:15.566-07:00",
"updated_at": "2025-09-18T09:23:16.246-07: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": "0934bb9b-28c4-4619-8fa6-a682939fd457",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 423,
"slug": "test",
"name": "Updated",
"url": "https://test.com",
"secret": "ZmLRC6WEv9PuSDcx",
"event_types": [],
"enabled": true,
"created_at": "2025-09-18T09:23:15.566-07:00",
"updated_at": "2025-09-18T09:23:16.246-07:00"
}
}
}