Delete theme asset
documentedDelete a theme asset.
DELETE /admin/api/2026-01/themes/{theme_id}/assets/{asset_id}.jsonOnline Storeno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$shop_domain}}.myshopify.com/admin/api/2026-01/themes/{{$theme_id}}/assets.json?asset%5Bkey%5D={{$asset_key}}" \
-X DELETE \
-H "X-Shopify-Access-Token: {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"