Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ response = descope_client.mgmt.user.remove_totp_seed(login_id=login_id)

#### Deleting Recovery Codes

Pass the loginId to the function to revoke all of the user's recovery codes.
Pass the user's login ID or user ID to the function to revoke all of the user's recovery codes.

```python
response = descope_client.mgmt.user.remove_recovery_codes(login_id=login_id)
Expand Down
4 changes: 2 additions & 2 deletions descope/management/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -1585,10 +1585,10 @@ def remove_recovery_codes(
login_id: str,
) -> None:
"""
Removes all recovery codes for the user with the given login ID.
Removes all recovery codes for the user with the given login ID or user ID.

Args:
login_id (str): The login ID of the user to remove recovery codes for.
login_id (str): The login ID or user ID of the user to remove recovery codes for.
Comment thread
dorsha marked this conversation as resolved.

Raise:
AuthException: raised if the operation fails
Expand Down
4 changes: 2 additions & 2 deletions descope/management/user_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -1591,10 +1591,10 @@ async def remove_recovery_codes(
login_id: str,
) -> None:
"""
Removes all recovery codes for the user with the given login ID.
Removes all recovery codes for the user with the given login ID or user ID.

Args:
login_id (str): The login ID of the user to remove recovery codes for.
login_id (str): The login ID or user ID of the user to remove recovery codes for.

Raise:
AuthException: raised if the operation fails
Expand Down
Loading