Hi all,

I am trying to delete a user in the GeoServer using the endpoint provided
in the documentation.
I found 2 versions of the same endpoint but none of them work. Please check
the docs below:
 - https://docs.geoserver.org/2.15.x/en/user/rest/api/userrole.html
* - *
https://docs.geoserver.org/latest/en/api/#/latest/en/api/1.0.0/usergroup.yaml

I tried to get a user by its username (following the docs):
*GET:  /rest/security/usergroup/user/username*
*but it returns a 405 and the following log errors:*
27 Jan 16:22:14 WARN [servlet.PageNotFound] - Request method 'GET' not
supported
xmnrrkb
<https://manage.psdrcs.com/#/services/egis-client_geo/log/xmnrrkbx2evfct7qypt0hu5dr>
27
Jan 16:22:14 WARN [annotation.ExceptionHandlerExceptionResolver] - Resolved
[org.springframework.web.HttpRequestMethodNotSupportedException: Request
method 'GET' not supported]

*GET: *rest/security/usergroup/*users*/username
but it returns a 404 and the following log errors:
xmnrrkb
<https://manage.psdrcs.com/#/services/egis-client_geo/log/xmnrrkbx2evfct7qypt0hu5dr>
27
Jan 16:23:00 WARN [servlet.PageNotFound] - No mapping for GET
/geoserver/rest/security/usergroup/users/username

DELETE: */**rest/security/usergroup/user/username*
*but it returns a 403 with no log errors.*

*DELETE: *rest/security/usergroup/*users*/username
but it returns a 403 with no log errors.

Can any of you provide me with the right endpoint?
Am I doing something wrong?


Regards

-- 
Samy Otero

*PSD |* Software Developer

www.psdrcs.com

*London |* 148 Fullarton St. 9th floor.

*Burlington |* 5045 South Service Rd.
_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to