Adds a member to a working group.
POST
/api/groups/{groupId}/members/{memberId}If the user is already a member of the group, nothing happens.
This endpoint can be used for adding someone else to a working group if you
are allowed to edit that group or for joining a group if you are allowed to do so.
Authorizations
Parameters
Path Parameters
groupId*
Typestring
RequiredmemberId*
Typestring
RequiredResponses
Success
JSON
{
}
Samples
cURL
curl -X POST http://localhost/api/groups/{groupId}/members/{memberId}
JavaScript
fetch("http://localhost/api/groups/{groupId}/members/{memberId}", { method: "POST" })
.then(response => response.json())
.then(data => console.log(data));
PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://localhost/api/groups/{groupId}/members/{memberId}");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
response = requests.post("http://localhost/api/groups/{groupId}/members/{memberId}")
print(response.json())