client.organization_details.get() -> GetOrganizationDetailsResponseContent
-
-
-
Retrieve details for this Organization, including display name and branding options. To learn more about Auth0 Organizations, read Organizations.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization_details.get()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization_details.update(...) -> UpdateOrganizationDetailsResponseContent
-
-
-
Update details for this Organization, such as display name and branding options. To learn more about Auth0 Organizations, read Organizations.
-
-
-
from auth0.myorganization import Auth0, OrgBranding, OrgBrandingColors from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization_details.update( name="testorg", display_name="Test Organization", branding=OrgBranding( logo_url="https://example.com/logo.png", colors=OrgBrandingColors( primary="#000000", page_background="#FFFFFF", ), ), )
-
-
-
request:
UpdateOrganizationDetailsRequestContent
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.configuration.get() -> GetConfigurationResponseContent
-
-
-
Retrieve the My Organization API configuration. Returns only the
connection_deletion_behaviorandallowed_strategies. Identifier attributes such asuser_attribute_profile_idandconnection_profile_idare not included. Cache this information, as it does not change frequently.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.configuration.get()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.list(...) -> ListOrganizationDomainsResponseContent
-
-
-
Retrieve a list of all pending and verified domains for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.list( from_="from", take=1, )
-
-
-
from:
typing.Optional[str]— An optional cursor from which to start the selection (exclusive).
-
take:
typing.Optional[int]— Number of results per page. Defaults to 50.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.create(...) -> CreateOrganizationDomainResponseContent
-
-
-
Create a new domain for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.create( domain="acme.com", )
-
-
-
domain:
OrgDomainName
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.get(...) -> GetOrganizationDomainResponseContent
-
-
-
Retrieve details of a domain specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.get( domain_id="domain_id", )
-
-
-
domain_id:
OrgDomainId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.delete(...)
-
-
-
Remove a domain specified by ID from this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.delete( domain_id="domain_id", )
-
-
-
domain_id:
OrgDomainId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.list() -> ListIdentityProvidersResponseContent
-
-
-
Retrieve a list of all Identity Providers for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.list()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.create(...) -> CreateIdentityProviderResponseContent
-
-
-
Create a new Identity Provider for this Organization.
-
-
-
from auth0.myorganization import Auth0, IdpOidcRequest, IdpOidcOptionsRequest from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.create( request=IdpOidcRequest( strategy="oidc", options=IdpOidcOptionsRequest( type="front_channel", client_id="a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d", client_secret="KzQp2sVxR8nTgMjFhYcEWuLoIbDvUoC6A9B1zX7yWqFjHkGrP5sQdLmNp", discovery_url="https://{yourDomain}/.well-known/openid-configuration", ), name="oidcIdp", domains=[ "mydomain.com" ], display_name="OIDC IdP", show_as_button=True, assign_membership_on_login=False, is_enabled=True, ), )
-
-
-
request:
CreateIdentityProviderRequestContent
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.get(...) -> GetIdentityProviderResponseContent
-
-
-
Retrieve details of an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.get( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.delete(...)
-
-
-
Delete an Identity Provider specified by ID from this Organization. This will remove the association and delete the underlying Identity Provider. Members will no longer be able to authenticate using this Identity Provider.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.delete( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.update(...) -> UpdateIdentityProviderResponseContent
-
-
-
Update the details of an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0, IdpOidcUpdateRequest, IdpOidcOptionsRequest from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.update( idp_id="idp_id", request=IdpOidcUpdateRequest( display_name="OIDC IdP", show_as_button=True, assign_membership_on_login=False, is_enabled=True, options=IdpOidcOptionsRequest( type="front_channel", client_id="a8f3b2e7-5d1c-4f9a-8b0d-2e1c3a5b6f7d", client_secret="KzQp2sVxR8nTgMjFhYcEWuLoIbDvUoC6A9B1zX7yWqFjHkGrP5sQdLmNp", discovery_url="https://{yourDomain}/.well-known/openid-configuration", ), ), )
-
-
-
idp_id:
IdpId
-
request:
UpdateIdentityProviderRequestContent
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.update_attributes(...) -> GetIdentityProviderResponseContent
-
-
-
Refresh the attribute mapping for an Identity Provider specified by ID for this Organization. Mappings are reset to the admin-defined defaults.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.update_attributes( idp_id="idp_id", request={ "key": "value" }, )
-
-
-
idp_id:
IdpId
-
request:
typing.Dict[str, typing.Any]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.detach(...)
-
-
-
Remove an Identity Provider specified by ID from this Organization. This only removes the association; the underlying Identity Provider is not deleted. Members will no longer be able to authenticate using this Identity Provider.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.detach( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.members.list(...) -> ListOrganizationMembersResponseContent
-
-
-
Retrieve a list of all members for this Organization. The
rolesfield is only included for each member when the token also carries theread:my_org:member_rolesscope; without that scope therolesfield is omitted from the response.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.members.list( fields="fields", include_fields=True, from_="from", take=1, )
-
-
-
fields:
typing.Optional[str]— Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
-
include_fields:
typing.Optional[bool]— Whether specified fields are to be included (true) or excluded (false). Defaults to true
-
from:
typing.Optional[str]— An optional cursor from which to start the selection (exclusive).
-
take:
typing.Optional[int]— Number of results per page. Defaults to 50.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.members.get(...) -> GetOrganizationMemberResponseContent
-
-
-
Retrieve details of a member specified by user ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.members.get( user_id="user_id", fields="fields", include_fields=True, )
-
-
-
user_id:
OrgMemberId
-
fields:
typing.Optional[str]— Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
-
include_fields:
typing.Optional[bool]— Whether specified fields are to be included (true) or excluded (false). Defaults to true
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.memberships.delete_memberships(...)
-
-
-
Remove one member from this Organization. The underlying user account is not deleted.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.memberships.delete_memberships( members=[ "auth0|1234567890" ], )
-
-
-
members:
typing.List[OrgMemberId]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.invitations.list(...) -> ListMembersInvitationsResponseContent
-
-
-
Retrieve a list of all member invitations for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.invitations.list( fields="fields", include_fields=True, from_="from", take=1, sort="sort", )
-
-
-
fields:
typing.Optional[str]— Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. Note: you cannot filter on ticket_id and this value will only be returned when fields are not filtered.
-
include_fields:
typing.Optional[bool]— Whether specified fields are to be included (true) or excluded (false). Defaults to true
-
from:
typing.Optional[str]— An optional cursor from which to start the selection (exclusive).
-
take:
typing.Optional[int]— Number of results per page. Defaults to 50.
-
sort:
typing.Optional[str]— Field to sort by. Use field:order where order is 1 for ascending and -1 for descending. Defaults to created_at:-1
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.invitations.create(...) -> CreateMemberInvitationResponseContent
-
-
-
Create one or more member invitations for this Organization. If an active invitation already exists for a user, generating a new invitation will automatically revoke any outstanding invitations for that user. Roles specified in the payload will be granted to the user upon acceptance of the invitation.
-
-
-
from auth0.myorganization import Auth0, CreateMemberInvitationInvitee, MemberInvitationInviter from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.invitations.create( invitees=[ CreateMemberInvitationInvitee( email="user@example.com", roles=[ "rol_0000000000000001" ], ) ], inviter=MemberInvitationInviter( name="Allison the Admin", ), identity_provider_id="con_2CZPv6IY0gWzDaQJ", ttl_sec=3600, )
-
-
-
invitees:
typing.List[CreateMemberInvitationInvitee]
-
auth_0_custom_domain:
typing.Optional[str]
-
inviter:
typing.Optional[MemberInvitationInviter]
-
identity_provider_id:
typing.Optional[str]— Identity provider identifier.
-
ttl_sec:
typing.Optional[int]— Number of seconds for which the invitation is valid before expiration. If unspecified or set to 0, this value defaults to 604800 seconds (7 days). Max value: 2592000 seconds (30 days).
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.invitations.get(...) -> GetMemberInvitationResponseContent
-
-
-
Retrieve details of a member invitation specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.invitations.get( invitation_id="invitation_id", fields="fields", include_fields=True, )
-
-
-
invitation_id:
InvitationId
-
fields:
typing.Optional[str]— Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields. Note: you cannot filter on ticket_id and this value will only be returned when fields are not filtered.
-
include_fields:
typing.Optional[bool]— Whether specified fields are to be included (true) or excluded (false). Defaults to true
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.invitations.delete(...)
-
-
-
Revoke a member invitation specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.invitations.delete( invitation_id="invitation_id", )
-
-
-
invitation_id:
InvitationId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.roles.list(...) -> ListRolesResponseContent
-
-
-
Retrieve the list of roles available for binding to members and invitations for this Organization. Only roles made visible to this Organization by the Tenant Admin are returned.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.roles.list( from_="from", take=1, name="name", )
-
-
-
from:
typing.Optional[str]— An optional cursor from which to start the selection (exclusive).
-
take:
typing.Optional[int]— Number of results per page. Defaults to 50.
-
name:
typing.Optional[str]— An optional filter on the name (case-insensitive).
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.configuration.identity_providers.get() -> GetIdpConfigurationResponseContent
-
-
-
Retrieve the Connection Profile for this application. You should cache this information as it does not change frequently.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.configuration.identity_providers.get()
-
-
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.verify.create(...) -> StartOrganizationDomainVerificationResponseContent
-
-
-
Initiate the verification process for a domain specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.verify.create( domain_id="domain_id", )
-
-
-
domain_id:
OrgDomainId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.domains.identity_providers.get(...) -> ListDomainIdentityProvidersResponseContent
-
-
-
Retrieve the list of Identity Providers associated with a domain specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.domains.identity_providers.get( domain_id="domain_id", )
-
-
-
domain_id:
OrgDomainId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.domains.create(...) -> CreateIdpDomainResponseContent
-
-
-
Associate a domain with an Identity Provider specified by ID for this Organization. The domain must be claimed and verified.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.domains.create( idp_id="idp_id", domain="my-domain.com", )
-
-
-
idp_id:
IdpId
-
domain:
OrgDomainName
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.domains.delete(...)
-
-
-
Remove a domain specified by name from an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.domains.delete( idp_id="idp_id", domain="domain", )
-
-
-
idp_id:
IdpId
-
domain:
OrgDomainName
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.get(...) -> GetIdPProvisioningConfigResponseContent
-
-
-
Retrieve the Provisioning Configuration for an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.get( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.create(...) -> CreateIdPProvisioningConfigResponseContent
-
-
-
Create a new Provisioning Configuration for an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.create( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.delete(...)
-
-
-
Delete the Provisioning Configuration for an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.delete( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.update_attributes(...) -> GetIdPProvisioningConfigResponseContent
-
-
-
Refresh the attribute mapping for the Provisioning Configuration of an Identity Provider specified by ID for this Organization. Mappings are reset to the admin-defined defaults.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.update_attributes( idp_id="idp_id", request={ "key": "value" }, )
-
-
-
idp_id:
IdpId
-
request:
typing.Dict[str, typing.Any]
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.scim_tokens.list(...) -> ListIdpProvisioningScimTokensResponseContent
-
-
-
Retrieve a list of SCIM tokens for the Provisioning Configuration of an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.scim_tokens.list( idp_id="idp_id", )
-
-
-
idp_id:
IdpId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.scim_tokens.create(...) -> CreateIdpProvisioningScimTokenResponseContent
-
-
-
Create a new SCIM token for the Provisioning Configuration of an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.scim_tokens.create( idp_id="idp_id", token_lifetime=86400, )
-
-
-
idp_id:
IdpId
-
token_lifetime:
typing.Optional[int]— Lifetime of the token in seconds. Do not set for non-expiring tokens.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.identity_providers.provisioning.scim_tokens.delete(...)
-
-
-
Revoke a SCIM token specified by token ID for the Provisioning Configuration of an Identity Provider specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.identity_providers.provisioning.scim_tokens.delete( idp_id="idp_id", idp_scim_token_id="idp_scim_token_id", )
-
-
-
idp_id:
IdpId
-
idp_scim_token_id:
IdpProvisioningScimTokenId
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.members.roles.list(...) -> GetOrganizationMemberRolesResponseContent
-
-
-
Retrieve a list of roles assigned to a member specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.members.roles.list( user_id="user_id", from_="from", take=1, )
-
-
-
user_id:
OrgMemberId
-
from:
typing.Optional[str]— An optional cursor from which to start the selection (exclusive).
-
take:
typing.Optional[int]— Number of results per page. Defaults to 50.
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.members.roles.assign(...)
-
-
-
Assign roles to a member specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.members.roles.assign( user_id="user_id", role_ids=[ "rol_SO2j0sFo9NFa3F9w" ], )
-
-
-
user_id:
OrgMemberId
-
request:
OrganizationMemberRolesChangeRequestContent
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-
client.organization.members.roles.unassign(...)
-
-
-
Remove roles from a member specified by ID for this Organization.
-
-
-
from auth0.myorganization import Auth0 from auth0.myorganization.environment import Auth0Environment client = Auth0( token="<token>", environment=Auth0Environment.DEFAULT, ) client.organization.members.roles.unassign( user_id="user_id", role_ids=[ "rol_SO2j0sFo9NFa3F9w" ], )
-
-
-
user_id:
OrgMemberId
-
request:
OrganizationMemberRolesChangeRequestContent
-
request_options:
typing.Optional[RequestOptions]— Request-specific configuration.
-
-