pub async fn repos_slash_update_webhook(
configuration: &Configuration,
owner: &str,
repo: &str,
hook_id: i32,
repos_update_webhook_request: ReposUpdateWebhookRequest,
) -> Result<Hook, Error<ReposSlashUpdateWebhookError>>
Expand description
Updates a webhook configured in a repository. If you previously had a secret
set, you must provide the same secret
or set a new secret
or the secret will be removed. If you are only updating individual webhook config
properties, use "Update a webhook configuration for a repository."