Add the given User identified by username to the given Group identified by groupName. This method is idempotent i.e., if the membership already exists then no action will be taken.
string
Requiredstring
RequiredNo Content if the user is successfully added to the group
1
2
curl --request PUT \
--url 'http://{baseurl}/confluence/rest/api/user/{username}/group/{groupName}'
Removes the given User identified by username from the given Group identified by groupName. This method is idempotent i.e., if the membership already exists then no action will be taken.
string
Requiredstring
RequiredNo Content if the user is successfully removed from the group
1
2
curl --request DELETE \
--url 'http://{baseurl}/confluence/rest/api/user/{username}/group/{groupName}'
Rate this page: