Update a group member
PATCH {{baseUrl}}/groups/:groupId/members/:memberId
Use this API to perform either of the following tasks: * Remove a group member from one group and move them to a different group. * Set a user's primary group. By default, the primary group is the first group that user is added to.
If a user is a member of multiple groups, you can assign the user a primary group. The user will use the primary group's settings by default. However, if the user is a member of a group with locked settings, those group settings will remain locked to the user.
Prerequisites: * A Pro or higher account
Scopes: group:write:admin
Rate Limit Label: Medium
Request Body
{"action"=>"set_primary", "target_group_id"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |