Batch remove environment variables
DEL
https://api.vercel.com/v1/projects/{idOrName}/envDelete multiple environment variables for a given project in a single batch operation.
https://api.vercel.com/v1/projects/{idOrName}/env
const response = await fetch('https://api.vercel.com/v1/projects/idOrName/env?teamId=string&slug=string', { method: 'DELETE', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "deleted": "123", "ids": []}AuthorizationbearerToken
Default authentication mechanism