PUT
/
v1
/
webhooks
/
endpoints
/
{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": "42160959-1d1e-49d5-b1b1-0fdd175cff4a",
    "type": "webhooks_endpoints",
    "attributes": {
      "team_id": 366,
      "slug": "test",
      "name": "Updated",
      "url": "https://test.com",
      "secret": "9R3ghkJWMFq1P8ju",
      "event_types": [],
      "enabled": true,
      "created_at": "2025-03-28T18:01:30.802-07:00",
      "updated_at": "2025-03-28T18:01:32.117-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
webhooks_endpoint updated
data
object
required