@assets.route('<STR_LIT>', methods=['<STR_LIT>'])<EOL>def retire_all():
try:<EOL><INDENT>all_ids = [a['<STR_LIT:id>'] for a in dao.get_all_assets()]<EOL>for i in all_ids:<EOL><INDENT>dao.delete(i)<EOL><DEDENT>return '<STR_LIT>', <NUM_LIT:200><EOL><DEDENT>except Exception as e:<EOL><INDENT>logger.error(e)<EOL>return '<STR_LIT>', <NUM_LIT><EOL><DEDENT>
Retire metadata of all the assets.
    ---
    tags:
      - ddo
    responses:
      200:
        description: successfully deleted
      500:
        description: Error