Skip to content
Docs

Deletes the Integration log drain with the provided `id` (deprecated)

DELhttps://api.vercel.com/v1/integrations/log-drains/{id}
Deletes the Integration log drain with the provided id. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.
https://api.vercel.com/v1/integrations/log-drains/{id}
const response = await fetch('https://api.vercel.com/v1/integrations/log-drains/id?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
{}
AuthorizationbearerToken

Default authentication mechanism

idstringRequired
ID of the log drain to be deleted
teamIdstringOptional
The Team identifier to perform the request on behalf of.
slugstringOptional
The Team slug to perform the request on behalf of.
204The log drain was successfully deleted
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource.
404Error
410Error