Okta profile override email

We have developers create users using API. The problem we have run into is where activation emails got sent to real users.

Is there a way to

  • Override the email address when the user is created via API.
    OR
  • Globally disable activation notification for the Okta instance.

Thanks
RJ

Settings>Customization:

image

Hi @rohitj

When creating a user, you have the option to specify a query parameter sendEmail to tell Okta if it should send an activation email to the user. Here’s a cURL example

curl -X POST \
  'https://org.okta.com/api/v1/users?activate=false&sendEmail=true' \
  -H 'Accept: application/json' \
  -H 'Authorization: SSWS API_TOKEN_HERE' \
  -H 'Content-Type: application/json' \
  -d '{
  "profile": {
    "firstName": "Isaac",
    "lastName": "Brock",
    "email": "test.user@example.com",
    "login": "test.user@example.com"
  }
}'