We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
users.totp(user_id)
I am trying to enable TOTP for a user using the Clerk Python SDK by calling users.totp(user_id), but it results in a 405 Method Not Allowed error.
Use the Clerk Python SDK to enable TOTP for a user:
from clerk import Clerk with Clerk( bearer_auth="<API_KEY>", ) as clerk: response = clerk.users.create_totp(user_id="<USER_ID>") print(response)
The request fails with the following error:
405
405 Method Not Allowed
https://clerk.com/docs/reference/backend-api/tag/Users
POST /v1/users/{user_id}/totp
1.7.2
3.11
Ubuntu 22.04,
Would appreciate any clarification or fixes! 🚀
The text was updated successfully, but these errors were encountered:
No branches or pull requests
📝 Description
I am trying to enable TOTP for a user using the Clerk Python SDK by calling
users.totp(user_id)
, but it results in a 405 Method Not Allowed error.🔄 Steps to Reproduce
Use the Clerk Python SDK to enable TOTP for a user:
The request fails with the following error:
405
✅ Expected Behavior
❌ Actual Behavior
405 Method Not Allowed
error.https://clerk.com/docs/reference/backend-api/tag/Users
there is no such method❓ Questions
users.totp(user_id)
method correctly implemented in the SDK?POST /v1/users/{user_id}/totp
) still supported?🛠 Environment
1.7.2
3.11
Ubuntu 22.04,
Would appreciate any clarification or fixes! 🚀
The text was updated successfully, but these errors were encountered: