{
  "name": "okta",
  "display_name": "Okta",
  "description": "Use the Okta API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "oktaApi",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "user"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Okta/Okta.node.ts",
  "routing": {
    "base_url": "={{$credentials.url.replace(new RegExp(",
    "auth_headers": [
      [
        "Authorization",
        "SSWS {{accessToken}}"
      ]
    ],
    "auth_query": [],
    "credential_name": "oktaApi",
    "operations": [
      {
        "value": "delete",
        "method": "DELETE",
        "url": "{{",
        "body": ""
      },
      {
        "value": "get",
        "method": "GET",
        "url": "{{",
        "body": ""
      },
      {
        "value": "update",
        "method": "POST",
        "url": "{{",
        "body": ""
      }
    ],
    "sends": [
      {
        "param_name": "firstName",
        "send_type": "body",
        "dest_key": "profile.firstName",
        "applies_to_operations": [],
        "applies_to_resources": [
          "user"
        ]
      },
      {
        "param_name": "lastName",
        "send_type": "body",
        "dest_key": "profile.lastName",
        "applies_to_operations": [],
        "applies_to_resources": [
          "user"
        ]
      },
      {
        "param_name": "login",
        "send_type": "body",
        "dest_key": "profile.login",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "email",
        "send_type": "body",
        "dest_key": "profile.email",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "city",
        "send_type": "body",
        "dest_key": "profile.city",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "costCenter",
        "send_type": "body",
        "dest_key": "profile.costCenter",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "countryCode",
        "send_type": "body",
        "dest_key": "profile.countryCode",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "department",
        "send_type": "body",
        "dest_key": "profile.department",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "displayName",
        "send_type": "body",
        "dest_key": "profile.displayName",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "division",
        "send_type": "body",
        "dest_key": "profile.division",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "employeeNumber",
        "send_type": "body",
        "dest_key": "profile.employeeNumber",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "honorificPrefix",
        "send_type": "body",
        "dest_key": "profile.honorificPrefix",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "honorificSuffix",
        "send_type": "body",
        "dest_key": "profile.honorificSuffix",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "locale",
        "send_type": "body",
        "dest_key": "profile.locale",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "manager",
        "send_type": "body",
        "dest_key": "profile.manager",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "managerId",
        "send_type": "body",
        "dest_key": "profile.managerId",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "middleName",
        "send_type": "body",
        "dest_key": "profile.middleName",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "mobilePhone",
        "send_type": "body",
        "dest_key": "profile.mobilePhone",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "nickName",
        "send_type": "body",
        "dest_key": "profile.nickName",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "password",
        "send_type": "body",
        "dest_key": "credentials.password.value",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "organization",
        "send_type": "body",
        "dest_key": "profile.organization",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "postalAddress",
        "send_type": "body",
        "dest_key": "profile.postalAddress",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "preferredLanguage",
        "send_type": "body",
        "dest_key": "profile.preferredLanguage",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "primaryPhone",
        "send_type": "body",
        "dest_key": "profile.primaryPhone",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "profileUrl",
        "send_type": "body",
        "dest_key": "profile.profileUrl",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "recoveryQuestionAnswer",
        "send_type": "body",
        "dest_key": "credentials.recovery_question.answer",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "recoveryQuestionQuestion",
        "send_type": "body",
        "dest_key": "credentials.recovery_question.question",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "secondEmail",
        "send_type": "body",
        "dest_key": "profile.secondEmail",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "state",
        "send_type": "body",
        "dest_key": "profile.state",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "streetAddress",
        "send_type": "body",
        "dest_key": "profile.streetAddress",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "timezone",
        "send_type": "body",
        "dest_key": "profile.timezone",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "title",
        "send_type": "body",
        "dest_key": "profile.title",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "userType",
        "send_type": "body",
        "dest_key": "profile.userType",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "zipCode",
        "send_type": "body",
        "dest_key": "profile.zipCode",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "limit",
        "send_type": "query",
        "dest_key": "limit",
        "applies_to_operations": [
          "getAll"
        ],
        "applies_to_resources": [
          "user"
        ]
      }
    ]
  }
}