In this example, we want to create a new user account in Okta using a random user generator. Creating a user account allows you to add MFA to your application without needing to update your user schemas.
Generate a random user by loading Random User Generator into your browser.
Copy the following:
- First Name
- Last Name
- Email Address
Open the Users (Okta API) collection in Postman and then the Create User collection.
Select the POST Create User without Credentials request template. The request template appears on the right.
Select the Body tab and enter the first name, last name, and email address for your randomly generated user. Use the email for the
Click Send. A successful request results in an HTTP status code of
200and a JSON payload response.
Save the value of the User ID (
id) that is returned in the response.
Note: In Okta, User IDs start with