Remove a member from a group
DELETE
/v1/groups/{groupId}/members/{memberId}
const url = 'https://api.varman.io/v1/groups/example/members/example';const options = {method: 'DELETE', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.varman.io/v1/groups/example/members/example \ --header 'X-API-Key: <X-API-Key>'Removes one member from a group. The member stays in the organization and keeps any other groups. Use when someone changes team.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”groupId
required
string
Group id (grp_…)
memberId
required
string
Member id (mem_…)
Responses
Section titled “Responses”The updated group