User

Create User

Creates a new user in your Okta organization with or without credentials.

post/api/v1/users

Request

  • Base URL
    https://your-subdomain.okta.com
  • Auth
    API key in header Authorization

Query parameters

activateboolean

Executes activation lifecycle operation when creating the user

providerboolean

Indicates whether to create a user with a specified authentication provider

nextLoginstring

With activate=true, set nextLogin to "changePassword" to have the password be EXPIRED, so user must change it the next time they log in.

Request body

groupIdsstring[]

Response

Success

_embeddedobject
_linksobject
activatedstring date-time
createdstring date-time
idstring
lastLoginstring date-time
lastUpdatedstring date-time
passwordChangedstring date-time
status'ACTIVE' | 'DEPROVISIONED' | 'LOCKED_OUT' | 'PASSWORD_EXPIRED' | 'PROVISIONED' | 'RECOVERY' | 'STAGED' | 'SUSPENDED'
statusChangedstring date-time
transitioningToStatus'ACTIVE' | 'DEPROVISIONED' | 'LOCKED_OUT' | 'PASSWORD_EXPIRED' | 'PROVISIONED' | 'RECOVERY' | 'STAGED' | 'SUSPENDED'

Changes

No recorded changes to this operation across all 1 revision of this API.