# deleteGroupMember {#deletegroupmember}

## Syntax {#syntax}

`deleteGroupMember(userIds, groupIds)`

## Arguments {#arguments}

**userIds** is a STRING scalar/vector indicating user name\(s\).

**groupIds** is a STRING scalar/vector indicating group name\(s\).

*userIds* and *groupIds* cannot both be vectors.

## Details {#details}

Remove a user from a group or multiple groups, or remove multiple users from a group.

It can only be executed by an administrator.

## Examples {#examples}

```
deleteGroupMember(`AlexEdwards`ElizabethRoberts, `production);
```

