Update an existing webhook. Only supplied fields are changed.
Input
Encoding
application/jsonactive
boolean
Optional
No description available.
events
array
Optional
No description available.
repo
stringdid
Required
DID of the repository as minted by the knot.
secret
string
Optional
No description available.
url
stringuri
Optional
A valid URI.
webhook
string
Required
Webhook ID to update.
Errors
WebhookNotFound
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Update an existing webhook. Only supplied fields are changed.",
"errors": [
{
"name": "WebhookNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"active": {
"type": "boolean"
},
"events": {
"items": {
"ref": "org.tangled.webhook.defs#eventType",
"type": "ref"
},
"type": "array"
},
"repo": {
"description": "DID of the repository as minted by the knot.",
"format": "did",
"type": "string"
},
"secret": {
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
},
"webhook": {
"description": "Webhook ID to update.",
"type": "string"
}
},
"required": [
"repo",
"webhook"
],
"type": "object"
}
},
"type": "procedure"
}