Users and Groups

Organisation of security users and groups
More information: http://geoserver.org/comm/
Contact Info: geoserver-users@sourceforge.net
Version: 1.0.0
BasePath:/geoserver/rest/security
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

UserGroup

UserGroup

Up
delete /usergroup/groups/{group}
Delete a group (groupDefaultDelete)
Delete a group in the default user/group service.

Path parameters

group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /usergroup/groups/{group}
Add a group (groupDefaultPost)
Add a group in the default user/group service.

Path parameters

group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
delete /usergroup/service/{serviceName}/groups/{group}
Delete a group (groupDelete)
Delete a group in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
post /usergroup/service/{serviceName}/groups/{group}
Add a group (groupPost)
Add a group in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service
group (required)
Path Parameter — the name of the group

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
get /usergroup/groups/
Query all groups (groupsDefaultGet)
Query all groups in the default user/group service.

Return type

Groups

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Groups

Up
get /usergroup/service/{serviceName}/groups/
Query all groups (groupsGet)
Query all groups in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the group group service

Return type

Groups

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Groups

Up
delete /usergroup/users/{user}
Delete a user (userDefaultDelete)
Delete a user in the default user/group service.

Path parameters

user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
get /usergroup/users/{user}
Query a user (userDefaultGet)
Query a user in the default user/group service.

Path parameters

user (required)
Path Parameter — the name of the user

Return type

User

Example data

Content-Type: application/xml

  aeiou
  aeiou
  aeiou

Example data

Content-Type: application/json
{
  "password" : "password",
  "userName" : "userName",
  "enabled" : "enabled"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK User

Up
post /usergroup/users/{user}
Modify a user (userDefaultPost)
Modify a user in the default user/group service, unspecified fields remain unchanged.

Path parameters

user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

userDefaultPostBody User (required)
Body Parameter — the new user's details

Responses

200

OK

Up
delete /usergroup/service/{serviceName}/users/{user}
Delete a user (userDelete)
Delete a user in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Responses

200

OK

Up
get /usergroup/service/{serviceName}/users/{user}
Query a user (userGet)
Query a user in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service
user (required)
Path Parameter — the name of the user

Return type

User

Example data

Content-Type: application/xml

  aeiou
  aeiou
  aeiou

Example data

Content-Type: application/json
{
  "password" : "password",
  "userName" : "userName",
  "enabled" : "enabled"
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK User

Up
post /usergroup/service/{serviceName}/users/{user}
Modify a user (userPost)
Modify a user in a particular user/group service, unspecified fields remain unchanged.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service
user (required)
Path Parameter — the name of the user

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

userPostBody User (required)
Body Parameter — the new user's details

Responses

200

OK

Up
get /usergroup/users/
Query all users (usersDefaultGet)
Query all users in the default user/group service.

Return type

Users

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Users

Up
post /usergroup/users/
Add a new user (usersDefaultPost)
Add a new user to the default user/group service

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

usersDefaultPostBody User (required)
Body Parameter — the new user's details

Responses

201

Created

Up
get /usergroup/service/{serviceName}/users/
Query all users (usersGet)
Query all users in a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service

Return type

Users

Example data

Content-Type: application/xml
null

Example data

Content-Type: application/json
""

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

OK Users

Up
post /usergroup/service/{serviceName}/users/
Add a new user (usersPost)
Add a new user to a particular user/group service.

Path parameters

serviceName (required)
Path Parameter — the name of the user/group service

Consumes

This API call consumes the following media types via the Content-Type request header:

Request body

usersPostBody User (required)
Body Parameter — the new user's details

Responses

201

Created

Models

[ Jump to Methods ]

Table of Contents

  1. Group - group
  2. Groups - groups
  3. User - user
  4. Users - users

Group - group Up

Groups - groups Up

User - user Up

userName (optional)
password (optional)
enabled (optional)

Users - users Up