> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# teamBuiltInRoleMembersSet

> Set which team members hold a built-in role. Its permissions can't be changed.

**Required scopes:** [`team_roles_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-team_roles_write)

## Arguments

**memberIds** `[ID!]!` *required*

Team members (at most 500) who hold the role. Replaces the role's whole membership.

**role** `[BuiltInTeamRole!](/docs/api-reference/v3/reference/team/built-in-team-role)` *required*

## Returns

**teamBuiltInRoleMembersSet** `[TeamBuiltInRole!](/docs/api-reference/v3/reference/team/team-built-in-role)` *required*

A role Redo defines, with the permissions it grants.

**fields**

**members** `[TeamMemberConnection!](/docs/api-reference/v3/pagination)` *required*

Team members who hold this role, ordered by name.

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns members after it.

**before** `String`

Backward pagination cursor — returns members before it.

**first** `Int`

Forward pagination: returns the first N members (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N members (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**Fields**

**edges** `[\[TeamMemberEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**fields**

**cursor** `String!` *required*

Opaque cursor for this item; pass to `after`/`before` to page from here.

**node** `[TeamMember!](/docs/api-reference/v3/reference/common/team-member)` *required*

The item at this edge.

**nodes** `[\[TeamMember!\]!](/docs/api-reference/v3/reference/common/team-member)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**fields**

**email** `String`

Email address. Null when the user has none.

**id** `ID!` *required*

m\_us\_… id, the same id the app and MCP tools use.

**name** `String`

Display name. Null when the user hasn't set one.

**roles** `[\[TeamRole!\]!](/docs/api-reference/v3/reference/team/team-role)` *required*

The store's custom roles this team member holds, ordered by name. Their built-in roles are listed by teamBuiltInRoles.

**Requires:** [`team_roles_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-team_roles_read)

**supportCallForwarding** `[TeamMemberSupportCallForwarding](/docs/api-reference/v3/reference/support/team-member-support-call-forwarding)`

The team member's own call forwarding, kept on their user, as the call flow reads it. Only the team member the API acts for sees theirs: null for any other team member, and for an API token, which acts for no one.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportEmailSignature** `[TeamMemberSupportEmailSignature!](/docs/api-reference/v3/reference/support/team-member-support-email-signature)` *required*

The team member's own email signature, kept on their user, as the help desk composer reads it.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportNotificationPreferences** `[SupportNotificationPreferences](/docs/api-reference/v3/reference/support/support-notification-preferences)`

Which help desk notifications the team member gets: what the help desk's notifier reads for them, with defaults for what they never saved. The same settings as the Notifications tab of their profile. Null when the user can't be read. A request reads its team members 100 at a time, for 10 points each time.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportShiftStatus** `[SupportShiftStatus!](/docs/api-reference/v3/reference/support/support-shift-status)` *required*

The agent's live shift status, worked out when the request runs.

**Requires:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

**supportWorkSchedule** `[SupportWorkSchedule!](/docs/api-reference/v3/reference/support/support-work-schedule)` *required*

The agent's support working hours. An agent with no saved schedule returns enabled false.

**Requires:** [`team_members_manage`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-team_members_manage)

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**fields**

**endCursor** `String`

Cursor of the last edge in this page; pass to `after` to page forward.

**hasNextPage** `Boolean!` *required*

Whether more items exist after this page (drives forward pagination with `first`/`after`).

**hasPreviousPage** `Boolean!` *required*

Whether more items exist before this page (drives backward pagination with `last`/`before`).

**startCursor** `String`

Cursor of the first edge in this page; pass to `before` to page backward.

**permissions** `[\[TeamPermission!\]!](/docs/api-reference/v3/reference/team/team-permission)` *required*

What users with this role can do.

**role** `[BuiltInTeamRole!](/docs/api-reference/v3/reference/team/built-in-team-role)` *required*

Which built-in role.

## Example

```graphql theme={null}
mutation {
  teamBuiltInRoleMembersSet(memberIds: "...", role: ADMIN) {
    members {
      nodes {
        email
        id
        name
      }
      pageInfo { hasNextPage endCursor }
    }
    permissions
    role
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.