Trying to check on Auth0 management API but can’t find a way to automate the process of inviting user to a tenant. Anyone know how?
Hey @coderbn !
Unfortunately it’s not doable via our Management API. Two things you can achieve using our API in terms of tenants is either getting or updating tenant settings: https://auth0.com/docs/api/management/v2#!/Tenants/patch_settings
If you want to invite someone to tenant, you need to do it via our dashboard: https://manage.auth0.com/#/tenant/admins
may be like this : https://auth0.com/docs/design/creating-invite-only-applications
you can create user (https://auth0.com/docs/api/management/v2/#!/Users/post_users),
then ask for change password link (https://auth0.com/docs/api/management/v2/#!/Tickets/post_password_change),
then ask for validation ticket (https://auth0.com/docs/api/management/v2/#!/Tickets/post_email_verification) with change password link as callback,
then send an email to the user with this link
Sure! Let us know if that worked for you!