-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc502d7
commit 89a6c4e
Showing
4 changed files
with
766 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -375,6 +375,18 @@ descope_client.mgmt.user.update( | |
], | ||
) | ||
|
||
# Update explicit data for a user rather than overriding all fields | ||
descope_client.mgmt.user.update_phone( | ||
login_id="[email protected]", | ||
phone="+18005551234", | ||
verified=True, | ||
) | ||
descope_client.mgmt.user.remove_tenant_roles( | ||
login_id="[email protected]", | ||
tenant_id="my-tenant-id", | ||
role_names=["role-name1"], | ||
) | ||
|
||
# User deletion cannot be undone. Use carefully. | ||
descope_client.mgmt.user.delete("[email protected]") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.