API

Delete project

DELETEhttps://api.visitors.now/v1/projects/:id

Deletes a project by ID.

Request

index.ts
const res = await fetch("https://api.visitors.now/v1/projects/fe14d7a2-0f3f-4dc4-9c0b-6f4a49f5c751", {
  method: "DELETE",
  headers: { Authorization: `Bearer ${VISITORS_USER_API_KEY}` },
});

const result = await res.json();

Path parameters

id

stringrequired

The UUID of the project to delete.

Response

{
  "deleted": true
}