Delete rule
DEL
https://api.vercel.com/ai-gateway/rulesDelete a routing rule (soft delete)
https://api.vercel.com/ai-gateway/rules
const response = await fetch('https://api.vercel.com/ai-gateway/rules?ruleId=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
"value"AuthorizationbearerToken
Default authentication mechanism