Hello All,
I am trying to create a user using the following url: https://{mysite.com}/wp-json/wp/v2/users/?oauth=token and keep getting 401 error message “{“code”:”rest_cannot_create_user”,”message”:”Sorry, you are not allowed to create new users.”,”data”:{“status”:401}}”
I am passing basic authorization which is the combination of Base64Encode(clientID:ClientSecretKey) in the header.
Any help would be appreciated ?
Thank you