Title: Create User returns all users
Last modified: May 23, 2021

---

# Create User returns all users

 *  Resolved [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * (@iperez_genius)
 * [5 years ago](https://wordpress.org/support/topic/create-user-returns-all-users/)
 * First. I can retrieve the token, so i know i am setup correctly.
 * I am having trouble creating a user.
 * When i run /wp-josn/wp/v2/users
    Authorization set to “No Auth” Header contains
 * Key : Value
    Authorization : Bearer [token]
 * Body
    Key : Value { “username”: “carl”, “password”: “carl”, “email”: “carl@carl.
   carl” }
 * The response is 200 OK and all the users from WP are returned but no user is 
   actually created.
 * What am I missing?
    Anyone?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * (@iperez_genius)
 * [5 years ago](https://wordpress.org/support/topic/create-user-returns-all-users/#post-14491570)
 * Turns out my issue was that I had setup ssl and i wasn’t using https.
 * Working now
 *  Thread Starter [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * (@iperez_genius)
 * [5 years ago](https://wordpress.org/support/topic/create-user-returns-all-users/#post-14491571)
 * resolved

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Create User returns all users’ is closed to new replies.

 * ![](https://ps.w.org/jwt-authentication-for-wp-rest-api/assets/icon-256x256.jpg?
   rev=3372068)
 * [JWT Authentication for WP REST API](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jwt-authentication-for-wp-rest-api/reviews/)

## Tags

 * [wp rest api](https://wordpress.org/support/topic-tag/wp-rest-api/)

 * 2 replies
 * 1 participant
 * Last reply from: [iperez_genius](https://wordpress.org/support/users/iperez_genius/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/create-user-returns-all-users/#post-14491571)
 * Status: resolved