The createWebhookForWorkspace method in the library does not allow providing a body parameter, which is required to configure a webhook.
According to the Bitbucket API documentation, the request must include a body containing the webhook configuration.