code: def delete(self, main_type, sub_type, unique_id, owner=None):
          
          params = {'owner': owner} if owner else {}
          if not sub_type:
              url = '/v2/{}/{}'.format(main_type, unique_id)
          else:
              url = '/v2/{}/{}/{}'.format(main_type, sub_type, unique_id)
          return self.tcex.session.delete(url, params=params)
docs: Deletes the Indicator/Group/Victim or Security Label
          Args:
              main_type:
              sub_type:
              unique_id:
              owner: