Create admin user from command line Magento 2

We can use the below command to create an admin user.

php bin/magento admin:user:create --admin-user=bilal --admin-password=pwd@123 --admin-email=your@email.com --admin-firstname=Bilal --admin-lastname=Usean

9 views0 comments

Recent Posts

See All

How to generate bearer token - Magento 2 REST API

We can generate the admin bearer token using the below command. Please run the below command in the terminal to generate a token. curl -XPOST -H 'Content-Type: application/json' http://www.domain.com/

Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2020 by Bilal Usean. Proudly created with Wix.com