Node managementClient getUserBlocks doesn't have same params as Management API?

In the Management API docs, the getUserBlocks endpoint can take a second parameter, consider_brute_force_enablement. I’m trying to use the node sdk managementClient method .getUserBlocks, but it doesn’t seem to accept any param other than the user_id. Am I missing something?

Hi @rhuber,

Thanks for reaching out to the Auth0 Community!

I have just checked both the Management API Get a User block endpoint and the Management Client getUserBlocks method and can confirm your observations.

The Management Client only accepts the user_id as the only passable parameter.

Seeing that there’s a usage descrepancy between the two, I recommend using the Management API’s Get a User block endpoint so that you can pass the consider_brute_force_enablement parameter.

I hope this helps.

Please let me know if you have any additional questions. I’d be happy to help.

Thanks,
Rueben

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.