teams

Get team members for a user

Get a list of team members for a user. Useful for getting the ids of teams the user is on and the roles they have in those teams.

Permissions

Must be logged in as the user or have the edit_other_users permission.

get/api/v4/users/{user_id}/teams/members

Path parameters

user_idstring required

User GUID

Response

Team members retrieval successful

team_idstring

The ID of the team this member belongs to.

user_idstring

The ID of the user this member relates to.

rolesstring

The complete list of roles assigned to this team member, as a space-separated list of role names, including any roles granted implicitly through permissions schemes.

delete_atinteger

The time in milliseconds that this team member was deleted.

scheme_userboolean

Whether this team member holds the default user role defined by the team's permissions scheme.

scheme_adminboolean

Whether this team member holds the default admin role defined by the team's permissions scheme.

explicit_rolesstring

The list of roles explicitly assigned to this team member, as a space separated list of role names. This list does not include any roles granted implicitly through permissions schemes.

Changes