-
Notifications
You must be signed in to change notification settings - Fork 0
Group Management
The Cujae LDAP Manager provides a REST API for managing groups in an LDAP service. This page describes how to perform common group management tasks using the API.
To view a list of all groups in the LDAP service:
- Make a GET request to
/groups. - The list of all groups in the LDAP service will be returned in the response body.
To add a new group to the LDAP service:
- Make a POST request to
/groups. - Include the group's details (e.g. group name, description, etc.) in the request body as JSON.
- The new group will be added to the LDAP service, and the group's details will be returned in the response body.
To update an existing group in the LDAP service:
- Make a PUT request to
/groups/{groupId}, where{groupId}is the ID of the group you want to update. - Include the updated group details in the request body as JSON.
- The updated group details will be saved in the LDAP service, and the new group details will be returned in the response body.
To delete an existing group from the LDAP service:
- Make a DELETE request to
/groups/{groupId}, where{groupId}is the ID of the group you want to delete. - The group will be removed from the LDAP service.
The Cujae LDAP Manager allows users to be added to or removed from groups using the API. To add a user to a group:
- Make a PUT request to
/groups/{groupId}/users/{userId}, where{groupId}is the ID of the group you want to add the user to, and{userId}is the ID of the user you want to add. - The user will be added to the group.
To remove a user from a group:
- Make a DELETE request to
/groups/{groupId}/users/{userId}, where{groupId}is the ID of the group you want to remove the user from, and{userId}is the ID of the user you want to remove. - The user will be removed from the group.
Note: Authentication is required for all requests that modify data (e.g. POST, PUT, DELETE). Please refer to the authentication documentation for more information.
Cujae LDAP Manager is an open-source project developed by Ahmed Gonzalez. Contributions are welcome! See the contribution guidelines for more information.
Licensed under the MIT License.