Delete Project

Deletes a specific project based on the provided projectId. This operation marks the project as deleted and is irreversible.

DELETE /projects/{projectId}
import { v0 } from 'v0-sdk'

const result = await v0.projects.delete({
  projectId: 'abcd1234',
})

console.log(result)

Parameters

Path Parameters

projectId string Required

The unique identifier of the project to delete. This must be passed as a path parameter in the URL.


Response

Response Body

id string Required

The unique identifier of the deleted project.


object string Required

Fixed value identifying this object as a project.


deleted boolean Required

Confirmation that the project has been deleted.