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 the following errors *





I can confirm that :

*- DELETE: /**rest/security/usergroup/user/username *and
*rest/security/usergroup/users/username
*return a 403, even when I am authenticated.

- GET:  */**rest/security/usergroup/user/username return a 405 *xmnrrkb
<https://manage.psdrcs.com/#/services/egis-client_geo/log/xmnrrkbx2evfct7qypt0hu5dr>

        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]and  and *rest/security/usergroup/users/username
*return  404
                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/samytest

Am I doing something wrong? Is this the intended behavior?

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


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

Reply via email to