code: def retire_all():
      
      try:
          all_ids = [a['id'] for a in dao.get_all_assets()]
          for i in all_ids:
              dao.delete(i)
          return 'All ddo successfully deleted', 200
      except Exception as e:
          logger.error(e)
          return 'An error was found', 500
docs: Retire metadata of all the assets.
      ---
      tags:
        - ddo
      responses:
        200:
          description: successfully deleted
        500:
          description: Error