Unable to create new user through Rest API
-
I’m running WP 4.4, WP OAuth Server with WP Rest API v2.
I managed to authenticate using the admin user (using a test local site with a self signed SSL certificate).But when I try to create new user I get the following:
{“code”:”rest_cannot_create_user”,”message”:”Sorry, you are not allowed to create users.”,”data”:{“status”:401}}URL: https://dev.wp1.com/wp-json/wp/v2/users/
Method: Post
Content type: application/x-www-form-urlencoded
Data: email=test1%domain.com&username=test1&password=test1I checked with Members plugin and all privileges are set for the admin user / group.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unable to create new user through Rest API’ is closed to new replies.