> ## 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.

# Team

> The store's roles: what each lets its users do, and the role new users get.

## Queries

* [`teamBuiltInRoles`](https://developers.redo.com/docs/api-reference/v3/reference/team/queries/team-built-in-roles) **(Experimental)** — Redo's built-in roles and their permissions. The same for every store.
* [`teamNewUserDefaultRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/queries/team-new-user-default-role) **(Experimental)** — The role a user gets when they join the store.
* [`teamRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/queries/team-role) **(Experimental)** — A custom role by id. Null when the store has no such role.
* [`teamRoles`](https://developers.redo.com/docs/api-reference/v3/reference/team/queries/team-roles) **(Experimental)** — List the store's custom roles, ordered by name.

## Mutations

* [`teamBuiltInRoleMembersSet`](https://developers.redo.com/docs/api-reference/v3/reference/team/mutations/team-built-in-role-members-set) **(Experimental)** — Set which team members hold a built-in role. Its permissions can't be changed.
* [`teamNewUserDefaultRoleSet`](https://developers.redo.com/docs/api-reference/v3/reference/team/mutations/team-new-user-default-role-set) **(Experimental)** — Set the role a user gets when they join the store.
* [`teamRoleCreate`](https://developers.redo.com/docs/api-reference/v3/reference/team/mutations/team-role-create) **(Experimental)** — Create a custom role.
* [`teamRoleDelete`](https://developers.redo.com/docs/api-reference/v3/reference/team/mutations/team-role-delete) **(Experimental)** — Delete a custom role and take it off every user. True if deleted, false if none matched.
* [`teamRoleUpdate`](https://developers.redo.com/docs/api-reference/v3/reference/team/mutations/team-role-update) **(Experimental)** — Change a custom role. Null when the store has no such role. Built-in roles can't be changed.

## Objects

* [`TeamBuiltInRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-built-in-role) **(Experimental)** — A role Redo defines, with the permissions it grants.
* [`TeamNewUserDefaultRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-new-user-default-role) **(Experimental)** — The role a user gets when they join the store. At most one of builtInRole and customRole is set; when neither is, new users get USER.
* [`TeamRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-role) **(Experimental)** — A role the store defined ("Custom roles" in the app). Built-in roles are listed by teamBuiltInRoles.

## Input objects

* [`TeamNewUserDefaultRoleSetInput`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-new-user-default-role-set-input) **(Experimental)** — Set at most one. Leave both out to clear it, so new users get USER.
* [`TeamRoleCreateInput`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-role-create-input) **(Experimental)** —
* [`TeamRoleUpdateInput`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-role-update-input) **(Experimental)** —

## Enums

* [`BuiltInTeamRole`](https://developers.redo.com/docs/api-reference/v3/reference/team/built-in-team-role) **(Experimental)** — A role Redo defines. Its permissions are fixed; ADMIN can do everything.
* [`TeamPermission`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-permission) **(Experimental)** — Something a role lets its users do in the Redo app. A user can do everything any of their roles allows.
* [`TeamRoleColor`](https://developers.redo.com/docs/api-reference/v3/reference/team/team-role-color) **(Experimental)** — The color the app shows a role's badge in.


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