Change the workflow of a content type to "(Default)"

Today I wanted to set the workflow for the content type File to (Default).

I had some difficulty finding out how to do this. Especially since exporting the workflow definition did not provide any clues. Here’s a quick note so I won’t forget it again (thanks to Maciej Zięba from STX Next).

Add the following to workflows.xml:

  <type type_id="File" remove="True" />

After reinstalling the Generic Setup profile, the specified content type (in my case File) will have the default workflow.