Skip to content

Update a member group

PATCH
/v1/groups/{groupId}
curl --request PATCH \
--url https://api.varman.io/v1/groups/example \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "name": "Engineering", "description": "example", "memberIds": [ "example" ] }'

Renames a group, changes its description, or replaces its full member list when memberIds is given. Use add or remove member endpoints to change one person at a time.

groupId
required
string

Group id (grp_…)

Media typeapplication/json
object
name

New group name

string

Example

Engineering
description

New description, empty string clears it

string
memberIds

Full list of member ids. Replaces the current members when given.

Array<string>

The updated group