authenticatedUserSetPrimaryGroup
Sets the authenticated user's primary group.
Parameters
Name | Type | Description |
---|---|---|
groupId | Identifier | The id of the group to set as the primary group. |
Example
const { data: success } = await ClassicGroupsApi.authenticatedUserSetPrimaryGroup({ groupId: 5850082 });
Endpoint
POST /v1/user/groups/primary