# Creating an okta admin via OKTA CLI in an automated test

**URL:** <https://devforum.okta.com/t/creating-an-okta-admin-via-okta-cli-in-an-automated-test/27280>\
**Category:** API\
**Created:** [March 14, 2024, 1:57pm UTC](https://devforum.okta.com/t/creating-an-okta-admin-via-okta-cli-in-an-automated-test/27280 "2024-03-14T13:57:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramather](https://avatars.discourse-cdn.com/v4/letter/r/a5b964/32.png) [@ramather](https://devforum.okta.com/u/ramather)\
**Post date:** [March 14, 2024, 1:57pm UTC](https://devforum.okta.com/t/creating-an-okta-admin-via-okta-cli-in-an-automated-test/27280/1 "2024-03-14T13:57:08Z")

</div>

Hello all,

For testing purposes, I am trying to automate the admin creation flow via Okta CLI. However, the email verification step and password set step are blocking us. Are there any APIs we can use to bypass these steps? Or has anyone else found a way to automate this?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [April 13, 2024, 1:58pm UTC](https://devforum.okta.com/t/creating-an-okta-admin-via-okta-cli-in-an-automated-test/27280/2 "2024-04-13T13:58:04Z")

</div>

Closed on April 13, 2024, 1:58pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
