How do we disable hooks?

We’ve completed our Rules to actions migrations. But we have one hook that still needs to be moved over to an action. I want to disable the hook so we can test the action before deleting the legacy code, but it seems like I’m getting a 403 due to not having access to a deprecated feature.

I know hooks are read-only now, but we can’t disable an re-enable to test? This isn’t ideal.

Hi @kreiswig,

Welcome back to the Auth0 Community!

Thank you for posting your question. You can manage hooks via request to the Management API → Enable/Disable Hooks

If you don’t know the hook_id, you can get all hooks with the endpoint → Auth0 Management API v2

Thanks
Dawid

1 Like

@dawid.matuszczyk , thank you for the quick reply. Using the API is working for me, thanks!!!

1 Like