Lettermint.Team.Members (Lettermint v2.1.0)

Copy Markdown View Source

Team members. Needs :team_token.

Every function takes the options timeout: (milliseconds) last.

Summary

Functions

Streams every team member, following next_cursor. Raises the error of a failed page request.

Retrieves a team member.

Changes a member's role and project access.

Types

result(value)

@type result(value) :: {:ok, value} | {:error, Lettermint.Error.t()}

Functions

iterate(client, query \\ %{}, options \\ [])

Streams every team member, following next_cursor. Raises the error of a failed page request.

list(client, query \\ %{}, options \\ [])

Lists team members, one page at a time. query: Lettermint.Types.ListTeamMembersQuery.t/0.

retrieve(client, user_id, options \\ [])

Retrieves a team member.

update_assignment(client, user_id, body, options \\ [])

Changes a member's role and project access.