Skip to main content
DELETE
/
api
/
spaces
/
{spaceId}
/
drive
/
{itemId}
cURL
curl --request DELETE \
  --url https://api.kazzle.app/api/spaces/{spaceId}/drive/{itemId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "permanent": true
}

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required
itemId
string
required

Query Parameters

permanent
string

Response

200 - application/json

Item deleted

success
boolean
required
permanent
boolean