How do I move a file to the trash through the API?
DELETE the file with expectedLockVersion as a query parameter:
curl -s -X DELETE "https://app.usetalewright.com/v1/workspaces/$WORKSPACE/files/$FILE?expectedLockVersion=4" \
-H "Authorization: Bearer $TALEWRIGHT_API_KEY"