v2
latestOpenAPI 3.1.0LicenseRef-Convex2026-07-264790136.4 KBCustom Roles
Delete a custom role
Deletes a custom role from the team. Fails with CustomRoleInUse if the role is still attached to any team members; reassign those members (e.g. via update_team_member_role) before retrying.
post/teams/{team_id}/delete_custom_role
Path parameters
team_idinteger required
Team ID