Skip to content

Okta

Node: okta · Full type: n8n-nodes-base.okta · Version: 1

Credentials

oktaApi (alias: @okta)

CREDENTIAL @okta = oktaApi "My Okta"

Operations

Resource: user

create

Parameter Type Default Details
firstName string "" required
lastName string "" required
login string "" required
email string "" required
activate boolean true
getCreateFields collection {} keys: city, costCenter, countryCode, department, displayName, division, ...

delete

Parameter Type Default Details
userId resourceLocator {...} required; modes: list, login, id
sendEmail boolean false

get

Parameter Type Default Details
userId resourceLocator {...} required; modes: list, login, id
simplify boolean true

getAll

Parameter Type Default Details
searchQuery string ""
limit number 20
returnAll boolean false
simplify boolean true

update

Parameter Type Default Details
userId resourceLocator {...} required; modes: list, login, id
getUpdateFields collection {} keys: city, costCenter, countryCode, department, displayName, division, ...

Common Parameters

Parameter Type Default Details
requestOptions collection {} keys: batching, allowUnauthorizedCerts, proxy, timeout

Parameter Details

getUpdateFields children:

Parameter Type Default Details
city string ""
costCenter string ""
countryCode string ""
department string ""
displayName string ""
division string ""
email string ""
employeeNumber string ""
firstName string ""
honorificPrefix string ""
honorificSuffix string ""
lastName string ""
locale string ""
manager string ""
managerId string ""
middleName string ""
mobilePhone string ""
nickName string ""
organization string ""
password string ""
postalAddress string ""
preferredLanguage string ""
primaryPhone string ""
profileUrl string ""
recoveryQuestionAnswer string ""
recoveryQuestionQuestion string ""
secondEmail string ""
state string ""
streetAddress string ""
timezone string ""
title string ""
userType string ""
login string ""
zipCode string ""

getCreateFields children:

Parameter Type Default Details
city string ""
costCenter string ""
countryCode string ""
department string ""
displayName string ""
division string ""
employeeNumber string ""
honorificPrefix string ""
honorificSuffix string ""
locale string ""
manager string ""
managerId string ""
middleName string ""
mobilePhone string ""
nickName string ""
password string ""
organization string ""
postalAddress string ""
preferredLanguage string ""
primaryPhone string ""
profileUrl string ""
recoveryQuestionAnswer string ""
recoveryQuestionQuestion string ""
secondEmail string ""
state string ""
streetAddress string ""
timezone string ""
title string ""
userType string ""
zipCode string ""

requestOptions children:

Parameter Type Default Details
batching fixedCollection {...} groups: batch
allowUnauthorizedCerts boolean false
proxy string ""
timeout number 10000

Example

NODE "okta" @okta AS "Okta" {
  resource: "user",
  operation: "get",
  firstName: {{ $json.firstName }},
  lastName: {{ $json.lastName }},
  login: {{ $json.login }}
}