Groups
User profiles
Users

Gets a user's primary group.

get/v1/users/{userId}/groups/primary/role

Path parameters

userIdinteger required

The user id.

Response

OK

isPrimaryGroupboolean

Whether the group is the user's Primary Group

isNotificationsEnabledboolean

Whether the group notification preferences are enabled for the user

Changes

Changed in 2 of the 12 revisions of this API.4

    • added the optional property role/isPrivate to the response with the 200 status (media type: application/json)

      response-optional-property-added

    • added the optional property role/isPrivate to the response with the 200 status (media type: text/json)

      response-optional-property-added

    • added the optional property group/communityTier/capabilities to the response with the 200 status (media type: application/json)

      response-optional-property-added

    • added the optional property group/communityTier/capabilities to the response with the 200 status (media type: text/json)

      response-optional-property-added