update
abstract fun update( webhookId: String, name: String, targetUrl: String, secret: String?, status: String?, handler: CompletionHandler<Webhook>)
Content copied to clipboard
Updates a webhook by id.
Since
1.4
Parameters
webhook Id
The identifier of the webhook.
name
A user-friendly name for this webhook.
target Url
The URL that receives POST requests for each event.
handler
A closure to be executed once the request has finished.
secret
The Secret used to generate payload signature.
status
The status of the webhook. Use "active" to reactivate a disabled webhook.
abstract fun update( webhookId: String, name: String, targetUrl: String, handler: CompletionHandler<Webhook>)
Content copied to clipboard
Updates a webhook by id.
Since
0.1
Parameters
webhook Id
The identifier of the webhook.
name
A user-friendly name for this webhook.
target Url
The URL that receives POST requests for each event.
handler
A closure to be executed once the request has finished.