Skip to content
Docs

Returns activated WAF config

DELhttps://api.vercel.com/v1/security/firewall/config/{configVersion}
Promotes a draft WAF config to an active config
https://api.vercel.com/v1/security/firewall/config/{configVersion}
const response = await fetch('https://api.vercel.com/v1/security/firewall/config/configVersion', {
method: 'DELETE',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
""
configVersionstringRequired
The deployed configVersion for the firewall configuration
204Success
400Error
401The request is not authorized.
403You do not have permission to access this resource.
404Error
410Error
500Error