Skip to main content

Create user

Add a new person to Okta, optionally with a starting password and group memberships.

Command in the Okta toolkit · id ooa.okta/create_user · 12 inputs (3 required), 2 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringNoYour Okta address, e.g. https://yourcompany.okta.com.
First nameStringYesGiven name.
Last nameStringYesFamily name.
EmailStringYesPrimary email address.
LoginStringNoSign-in name. Leave empty to use the email address.
Profile fieldsDictionaryNoMore profile values, e.g. {"department": "Finance", "mobilePhone": "+1 555 0100"}.
PasswordCredentialNoStarting password from the vault. Leave empty to let the person set one when they activate.
GroupsListNoGroups the person should join straight away, by name or id.
ActivateBooleanNotrueActivate the account now. When off, the account is created in a staged state.
API tokenCredentialNoOkta API token from the vault. Leave empty when you use an access token instead.
Access tokenCredentialNoOAuth access token from the vault, used instead of an API token. Or leave it empty and choose a connection that signs in, which gets and renews the token.
PhoneStringNoMobile phone number, kept in the profile as mobilePhone (G6).

Outputs​

OutputTypeWhat it is
user_idStringOkta id of the new user.
statusStringAccount status, e.g. ACTIVE, PROVISIONED or STAGED.