v13
OpenAPI 3.0.32026-07-31359869.4 MBDelete a drive
Deletes a drive by project and name. Attached drives cannot be deleted. Stop or replace the session currently using the drive before retrying deletion. Drives are in private beta. Register your interest to get access: https://vercel.com/changelog/drives-for-vercel-sandbox-in-private-beta
Path parameters
Name for the drive. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
Name for the drive. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores).
Query parameters
The project ID or name associated with the drive. Required unless using a Vercel OIDC token scoped to a project.
The project ID or name associated with the drive. Required unless using a Vercel OIDC token scoped to a project.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
Example response
{
"drive": {
"name": "workspace",
"projectId": "prj_abc123",
"maxSizeBytes": 107374182400,
"currentSessionId": "sbx_123",
"currentSandboxName": "my-sandbox",
"createdAt": 1750344501629,
"updatedAt": 1750344501629
}
}