Create User with Group Membership
A 2-step recipe with Okta. We can help you get access.
Recipe · 2 steps
Create User with Group Membership
with Okta · Identity & Access Management
Create a user seeded with groups and verify memberships.
- Create and activate a user, seeding their initial group memberships via the groupIds array.
- List the new user's groups to confirm the seeded memberships took effect.
What you'll need to have ready
- oktaApiToken: Okta API token used for the SSWS Authorization header.
- login: The unique login (username) for the new user.
- email: The primary email address for the new user.
- firstName: The given name for the new user.
- lastName: The family name for the new user.
- groupIds: The ids of the groups to add the new user to on creation.
For your developer
Arazzo workflow okta:create-user-with-group-membership, 2 operations: createUser → listUserGroups. Specs on APIs.io.