Group membership

Membership is used to signify that a user is part of a group.

string
11446498

The unique identifier for this group membership

string
group_membership

Value is always group_membership

string / date-time
2012-12-12T10:53:43-08:00

The time this membership was created.

object

The group that the membership applies to

string
11446498

The unique identifier for this object

string
group

Value is always group

managed_group

The type of the group.

Value is one of managed_group,all_users_group

string
Support

The name of the group

string / date-time
2012-12-12T10:53:43-08:00

The time this membership was last modified.

string
member

The role of the user in the group.

Value is one of member,admin

object

The user that the membership applies to

string
11446498

The unique identifier for this user

string
user

Value is always user

string / email
ceo@example.com

The primary email address of this user

string
Aaron Levie50

The display name of this user

Response Example

{
  "id": 11446498,
  "type": "group_membership",
  "created_at": "2012-12-12T10:53:43-08:00",
  "group": {
    "id": 11446498,
    "type": "group",
    "group_type": "managed_group",
    "name": "Support"
  },
  "modified_at": "2012-12-12T10:53:43-08:00",
  "role": "member",
  "user": {
    "id": 11446498,
    "type": "user",
    "login": "ceo@example.com",
    "name": "Aaron Levie"
  }
}