Delete project-level redirects.
DEL
https://api.vercel.com/v1/bulk-redirectsDeletes the provided redirects from the latest version of the projects' bulk redirects. Stages a new change with the new redirects and returns the alias for the new version in the response.
https://api.vercel.com/v1/bulk-redirects
const response = await fetch('https://api.vercel.com/v1/bulk-redirects?projectId=string&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
{ "alias": "string", "version": { "alias": "string", "createdBy": "string", "id": "icfg_1234567890", "isLive": "false", "isStaging": "false", "key": "string", "lastModified": "123", "name": "Example Name", "redirectCount": "123" }}AuthorizationbearerToken
Default authentication mechanism