Management API support for managing tenant members

Would be nice if Management API supported managing tenant members (e.g. administrators) like the Settings → Tenant Members in the dashboard allows.

We have one tenant per environment (we have five environments) and have started to use alexkappa’s excellent Auth0 Terraform provider to automate our tenant setup. Everything else in our Auth0 setup is now automated through that, but a final missing piece would be the ability to automate inviting tenant members.

Having five tenants and ten developers, inviting all developers to all tenants is pretty tiresome, as invites must be done one-by-one, requiring multiple clicks in the dashboard to invite just one person. Also when a developer leaves the team, we currently need to manually go through all the tenants and remove the developer from those.

Having a set of APIs for managing tenant members would allow automating this aspect. The following APIs would be needed to support full life-cycle automation of tenant members via automation tools such as Terraform:

Current state:

  • GET endpoint for listing current tenant members
  • GET endpoint for listing pending invitations

These endpoints should return at least the email address and the role for each member. Optionally it should include a flag telling if MFA is enabled (this could be used to automate bugging people to turn it on).

For the invitations, the response should include whether the invitation is pending or expired. This information is needed so tools would know whether to resend the invitation or not.

Managing tenant members:

  • POST endpoint for inviting new tenant members with email and role
  • POST/PUT/PATCH endpoint for changing member’s role
  • DELETE endpoint for removing member from tenant

Thank you for creating this feedback card! Let’s see how many people are interested in such feature

There is some interest in the feature request on the auth0 provider

1 Like

Thanks for providing that context. I’ll make sure to steer it towards the right pair of eyes!

1 Like

Would love to have this!

Thanks a lot for the +1!

+1 Hope this feature will come soon!

1 Like

Doing my best to advocate for it!

My organisation would love this feature!

Thanks for adding +1 to it Joel!

Same here - would love to have this feature. It would allow us to automatically provide escalated access to support engineers.

+1, need this as well.

Thanks for advocating for that!

Any update about this ? My company would definitely use this feature !

Another vote for this feature

+1 over here. compliance and audit requirements to ensure access and permissions are setup correctly for tenant admins is needed

1 Like

Thanks for adding your +1 to it!

+1 We would also like this

1 Like

+1 It would be great addition.

Hey everyone!

I’m gonna reach out to our product team again on that shortly to see what’s their approach for that