URI | Description |
---|---|
<base_URI>/config/running/ldap-server/maprole | Maps a role to a group. |
GET, POST, PUT, PATCH, DELETE, OPTIONS, and HEAD operations are supported.
The following example uses the GET option to retrieve the configuration details.
http://host:80/rest/config/running/ldap-server/maprole
None
<maprole y:self="/rest/config/running/ldap-server/maprole"> <group y:self="/rest/config/running/ldap-server/maprole/group/administrator"> <ad-group>administrator</ad-group> <role>admin</role> </group> </maprole>
The following is an example of the POST operation to map a role to a group.
http://host:80/rest/config/running/ldap-server/maprole
<group> <ad-group>administrator</ad-group> <role>admin</role> </group>
None
The following is an example of the DELETE operation to a maprole configuration.
http://host:80/rest/config/running/ldap-server/maprole/group
None
None