code: func (s *CA) DeleteAllCertAuthorities(caType services.CertAuthType) error {
  	startKey := backend.Key(authoritiesPrefix, string(caType))
  	return s.DeleteRange(context.TODO(), startKey, backend.RangeEnd(startKey))
  }
docs: // DeleteAllCertAuthorities deletes all certificate authorities of a certain type