Roei Levy
01/01/2026, 2:31 PMReuven Zabirov
01/01/2026, 2:41 PMselfProvisioningDomains
customAttributes
enforceSSO
enforceSSOExclusions
federatedAppIds
other settings such as authType, "enabled" and moreover SSO other configurations (such as session management settings and authorization) are not being affectedReuven Zabirov
01/01/2026, 2:41 PMRoei Levy
01/01/2026, 2:44 PMenforceSSO
enforceSSOExclusions
federatedAppIds
how should i persist them?Reuven Zabirov
01/01/2026, 2:45 PMRoei Levy
01/01/2026, 2:48 PMdef update(
self,
id: str,
name: str,
self_provisioning_domains: Optional[List[str]] = None,
custom_attributes: Optional[dict] = None,
):
"""
Update an existing tenant with the given name and domains. IMPORTANT: All parameters are used as overrides
to the existing tenant. Empty fields will override populated fields. Use carefully.
Args:
id (str): The ID of the tenant to update.
name (str): Updated tenant name
self_provisioning_domains (List[str]): An optional list of domain that are associated with this tenant.
Users authenticating from these domains will be associated with this tenant.
custom_attributes (dict): Optional, set the different custom attributes values of the keys that were previously configured in Descope console app
Raise:
AuthException: raised if creation operation fails
"""
No kwargs as well🥲
am i missing something?
should i not use the python client and just send http request?Reuven Zabirov
01/01/2026, 2:49 PMRoei Levy
01/01/2026, 2:50 PMReuven Zabirov
01/01/2026, 2:53 PMRoei Levy
01/01/2026, 2:53 PMReuven Zabirov
01/01/2026, 2:56 PM