How to destroy all children colliders of a gameobject?

Hello everybody! I have an enemy character, and I’d like for all of his colliders to be destroyed when he is killed (he has a collider on each bone). I’m writing my script in C#, if that helps. Thanks in advance, and have a great day!

This should work

private void RemoveCollidersRecursively() {
    var allColliders = GetComponentsInChildren<Collider>();

    foreach(var childCollider in allColliders) Destroy(childCollider);
}