Skip to main content

deleteTeamRole

Delete a non-system team role. Requires the 'manage_roles' team permission (app admins bypass). The system 'leader' role cannot be deleted. DESTRUCTIVE: removes the role from members and recomputes any grid ACLs the role granted on. Returns true if a role was deleted.

deleteTeamRole(
groupRoleId: BigInt!
): Boolean!

Arguments

deleteTeamRole.groupRoleId ● BigInt! non-null scalar

The team role to delete (must be a non-system role).

Type

Boolean scalar

The Boolean scalar type represents true or false.