Netlify-sdk
migration
byCodemod

Netlify/0.8.5/DeleteEnvironmentVariable

/icons/calendar.svg

Last update

Jul 24, 2024

This codemod changes deleteEnvironmentVariable to pass an object instead of the separate arguments as required in Netlify SDK v0.8.5.

Before

deleteEnvironmentVariable(accountId, siteId, key);

After

deleteEnvironmentVariable({
accountId: accountId,
siteId: siteId,
key: key,
});

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now