# Okta profile override email

**URL:** <https://devforum.okta.com/t/okta-profile-override-email/5530>\
**Category:** Questions\
**Created:** [July 2, 2019, 3:04am UTC](https://devforum.okta.com/t/okta-profile-override-email/5530 "2019-07-02T03:04:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohitj](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@rohitj](https://devforum.okta.com/u/rohitj)\
**Post date:** [July 2, 2019, 3:04am UTC](https://devforum.okta.com/t/okta-profile-override-email/5530/1 "2019-07-02T03:04:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Govner](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/govner/32/1099_2.png) [@Govner](https://devforum.okta.com/u/Govner)\
**Post date:** [July 2, 2019, 8:24am UTC](https://devforum.okta.com/t/okta-profile-override-email/5530/2 "2019-07-02T08:24:07Z")

</div>

Settings\>Customization:

![image](https://global.discourse-cdn.com/oktadev/original/2X/6/65eaab16a2d2fe85c69846a417eb35482be2bd6a.png)

---

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [July 3, 2019, 3:04am UTC](https://devforum.okta.com/t/okta-profile-override-email/5530/3 "2019-07-03T03:04:11Z")

</div>

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

```auto
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"
  }
}'

```

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 24, 2024, 11:25pm UTC](https://devforum.okta.com/t/okta-profile-override-email/5530/4 "2024-01-24T23:25:14Z")

</div>

Closed on January 24, 2024, 11:25pm UTC


