Skip to content

/api/v1/tenants/{tenantId}/webhooks/{webhookId} (PUT)

PUT
/api/v1/tenants/{tenantId}/webhooks/{webhookId}
curl --request PUT \
--url https://example.com/api/v1/tenants/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/webhooks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "url": "example", "events": [ "example" ], "serverIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ], "enabled": true, "format": "generic" }'
webhookId
required
string format: uuid
tenantId
required
string format: uuid
Media typeapplication/json
object
name
required
string
url
required
string
events
required
Array<string>
serverIds
required
Array<string> | null
enabled
boolean
default: true
format
One of:
null

OK