Create Organization, Add Member and Assign Member Roles
A 3-step recipe with Auth0. We can help you get access.
Recipe · 3 steps
Create Organization, Add Member and Assign Member Roles
with Auth0
Create an organization, add a member, and assign organization-scoped roles to that member.
- Create a new organization within the tenant.
- Add the supplied user as a member of the new organization.
- Assign the supplied role ids to the member within the context of the organization.
What you'll need to have ready
- name: The name of the organization (lowercase, used as the slug).
- display_name: Friendly display name for the organization.
- userId: Existing user id to add as a member and assign roles to.
- roles: List of role ids to assign to the member within the organization.
For your developer
Arazzo workflow auth0:create-org-assign-member-roles, 3 operations: post_organizations → post_members → post_organization_member_roles. Specs on APIs.io.