API create user returns not found
Created by: gaspa
Hi, I'm trying to use the /api/v3/users url to create users, but it returns: Status code: 404 and body: {"message":"404 Not Found"}
The call is done through python-gitlab and curl, both of them returns the same. Example fo the curl call: curl -X POST --data 'username=gaspa&password=pippo&email=[email protected]&name=Andrea%20Gasparini' --header "PRIVATE-TOKEN: my_private_token" "http://host/api/v3/users" {"message":"404 Not Found"}
(Yes, I'm using an admin account.)
Note that a GET on the same URL works fine $ curl --header "PRIVATE-TOKEN: my_private_token" "http://host/api/v3/users" 2 [{"id":1,"username":"root","email":"[email protected]","name":"Administrator","bio":null,"skype":"","l inkedin":"","twitter":"","theme_id":2,"color_scheme_id":1,"state":"active","created_at":"2014-02-02T2 2:19:03.741Z","extern_uid":null,"provider":null,"is_admin":true,"can_create_group":true,"can_create_p roject":true}]