Unable to disable repository_update_events through webhooks API

When trying to create a new webhooks through the /hooks endpoint the webhook will be created however the repository_update_events tag is being ignored and will always be enabled.

Screenshot_2021-05-18_at_11.49.02