Article summary
Did you find this summary helpful?
Thank you for your feedback
DELETE /v1/groups/{groupId}/member/{userId}
Add a member to a group.
Parameters:
Property | Data Type | Description |
---|---|---|
groupId* | String | ID of group. |
userId* | String | ID of user. |
Request Body: None
Request Example:
curl -X DELETE 'https://api.perimeter81.com/api/rest/v1/groups/<GROUP_ID>/member/<USER_ID>' -H 'Authorization: Bearer <ACCESS_TOKEN>'
Response:
Status Code | Message/Response Body | Description |
---|---|---|
200 | Group | Success. Group member deleted. |
Response Example:
{
"tenantId":"<TENANT_NAME>",
"name":"<GROUP_NAME>",
"description":"<GROUP_DESCRIPTION>",
"isDefault":false,
"applications":[],
"networks":[],
"vpnLocations":[],
"users":[
"<USER1_ID>",
"<USER2_ID>",
"<USER3_ID"
],
"createdAt":"2020-03-05T17:04:38.946Z",
"updatedAt":"2021-09-30T14:03:30.947Z",
"id":"<GROUP_ID>"
}
Was this article helpful?