Add a user to a group
Endpoint URL
POST /api/v2/group-memberships
Add a user to a group
Adds a user to a specific group. To create a group membership, provide the user’s unique ID using the user_id attribute and the group’s unique ID using the group_id attribute in the request body. If the request is valid and both the user and group exist, the API creates the membership and returns the corresponding group membership details.
Request
Responses
- 200
Successful response