Skip to content

Update webhook

PATCH
/v1/webhooks/{id}
curl --request PATCH \
--url http://api.disclosebot.localdev:3000/v1/webhooks/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{ "data": { "type": "example", "id": "example", "attributes": {} } }'
id
required
string
Media type application/vnd.api+json
object
data
object
type
string
id
string
attributes
object
Example generated
{
"data": {
"type": "example",
"id": "example",
"attributes": {}
}
}

Updated