PUT
/
events
/
webhooks
/
{id}
curl --request PUT \
  --url https://api.getnimbus.io/events/webhooks/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "addresses": [
    "<string>"
  ]
}'
{
  "data": {
    "id": "<string>",
    "owner": "<string>",
    "url": "<string>",
    "addresses": [
      "<string>"
    ],
    "chain": "SUI",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Path Parameters

id
string
required

The ID of the webhook to update

Body

application/json
url
string

The new URL for the webhook.

addresses
string[]

Updated list of addresses to monitor.

Response

200
application/json
Webhook updated successfully
data
object