Deletes a Configurable Log Drain (deprecated)
DEL
https://api.vercel.com/v1/log-drains/{id}Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.
https://api.vercel.com/v1/log-drains/{id}
const response = await fetch('https://api.vercel.com/v1/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