Delete all cache artifacts
DEL
https://api.vercel.com/v8/artifactsDeletes all cache artifacts stored for the authenticated team or user, clearing the Remote Cache. Subsequent builds will re-populate the cache.
https://api.vercel.com/v8/artifacts
const response = await fetch('https://api.vercel.com/v8/artifacts?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
{ "deletedCount": "123"}AuthorizationbearerToken
Default authentication mechanism