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

# teamRoleDelete

> Delete a custom role and take it off every user. True if deleted, false if none matched.

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

## Arguments

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

## Returns

**teamRoleDelete** `Boolean!` *required*

## Example

```graphql theme={null}
mutation {
  teamRoleDelete(id: "...")
}
```


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