https://osgeo-org.atlassian.net/browse/GEOS-8486 might help.

 

From: Nanaso via Geoserver-users <[email protected]> 
Sent: Monday, 12 November 2018 1:55 AM
To: GeoServer Mailing List List <[email protected]>
Subject: [Geoserver-users] Create a Geoserver user using REST APIs

 

Hi,

I need to use REST APIs to create a new user.

According to this post

https://gis.stackexchange.com/questions/256891/creating-new-geoserver-user-through-rest-api

I tried to send a POST request to the URL:

http://localhost:8080/geoserver/rest/usergroup/service/users/

With request body =

<user>

    <userName>Jim</userName>

    <password>password</password>

    <enabled>true</enabled>

</user>

 

But it returns 404 Not Found.

 

Unfortunatily there is no documentations about how to do that, except at the 
page of Geofence plugin, which failed to be installed at my machine (MAC OS 
Sierra, Geoserver 2.13)

 

Could you please help.

 

Regards,

Nanaso

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to