Delete a Project | Vercel REST API

Delete a Project

DEL https://api.vercel.com/v9/projects/{idOrName}

Delete a specific project by passing either the project id or name in the URL.

Example Request

const response = await fetch('https://api.vercel.com/v9/projects/idOrName?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

{}

Authentication

Authorization: bearerToken
Default authentication mechanism.

Path Parameters

Query Parameters

Response Status

Errors