Skip to content

Create superUser #3436

Answered by gsnider2195
rithikyennam asked this question in Q&A
Mar 16, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

It looks like the only option right now is to use the ansible.builtin.expect module to run nautobot-server createsuperuser and answer the prompts. You could use nautobot-server createsuperuser --noinput --username theusername --email [email protected] to create the user without a password but the API doesn't currently support updating passwords on existing users, only setting passwords on new users created through the API.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@jvanderaa
Comment options

Answer selected by rithikyennam
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants