Roles
Organisation of security roles
Version: 1.0.0
BasePath:/geoserver/rest/security
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
delete /roles/role/{role}
Delete a role (roleDefaultDelete)
Delete a role in the default role service.
Path parameters
role (required)
Path Parameter — the name of the role
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
delete /roles/role/{role}/group/{group}
Disassociate a role from a group (roleDefaultGroupDelete)
Disassociate a role in the default role service with a group.
Path parameters
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /roles/role/{role}/group/{group}
Associate a role with a group (roleDefaultGroupPost)
Associate an existing role in the default role service with a group.
Path parameters
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /roles/role/{role}
Add a role (roleDefaultPost)
Add a role in the default role service.
Path parameters
role (required)
Path Parameter — the name of the role
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
delete /roles/role/{role}/user/{user}
Disassociate a role from a user (roleDefaultUserDelete)
Disassociate a role in the default role service with a user.
Path parameters
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /roles/role/{role}/user/{user}
Associate a role with a user (roleDefaultUserPost)
Associate an existing role in the default role service with a user.
Path parameters
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
delete /service/{serviceName}/role/{role}
Delete a role (roleDelete)
Delete a role in a particular role service.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
delete /service/{serviceName}/roles/role/{role}/group/{group}
Disassociate a role from a group (roleGroupDelete)
Disassociate a role in a particular role service with a group.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /service/{serviceName}/roles/role/{role}/group/{group}
Associate a role with a group (roleGroupPost)
Associate an existing role in a particular role service with a group.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
group (required)
Path Parameter — the name of the group
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /service/{serviceName}/role/{role}
Add a role (rolePost)
Add a role in a particular role service.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
delete /service/{serviceName}/roles/role/{role}/user/{user}
Disassociate a role from a user (roleUserDelete)
Disassociate a role in a particular role service with a user.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Up
post /service/{serviceName}/roles/role/{role}/user/{user}
Associate a role with a user (roleUserPost)
Associate an existing role in a particular role service with a user.
Path parameters
serviceName (required)
Path Parameter — the name of the role service
role (required)
Path Parameter — the name of the role
user (required)
Path Parameter — the name of the user
Consumes
This API call consumes the following media types via the request header:
application/json
application/xml
Responses
200
OK
Query all roles (rolesDefaultGet)
Query all roles in the default role service.
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
Up
get /roles/group/{group}
Query all roles for group (rolesDefaultGroupGet)
Query all roles for the group in the default role service.
Path parameters
group (required)
Path Parameter — the name of the group
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
Up
get /roles/user/{user}
Query all roles for user (rolesDefaultUserGet)
Query all roles for the user in the default role service.
Path parameters
user (required)
Path Parameter — the name of the user
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
Up
get /roles/service/{serviceName}/roles/
Query all roles (rolesGet)
Query all roles in a particular role service.
Path parameters
serviceName (required)
Path Parameter — the name of the role role service
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
Up
get /roles/service/{serviceName}/group/{group}
Query all roles for group (rolesGroupGet)
Query all roles for the group in a particular role service.
Path parameters
serviceName (required)
Path Parameter — the name of the role role service
group (required)
Path Parameter — the name of the group
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
Up
get /roles/service/{serviceName}/user/{user}
Query all roles for user (rolesUserGet)
Query all roles for the user in a particular role service.
Path parameters
serviceName (required)
Path Parameter — the name of the role role service
user (required)
Path Parameter — the name of the user
Return type
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 request header;
the media type will be conveyed by the response header.
text/html
application/xml
application/json
Responses
200
OK
Roles
[ Jump to Methods ]
Table of Contents
Role
- role
Roles
- roles