Drives are in pre-release in the Baseten CLI (
baseten drive and baseten sandbox drive) and in the Python, TypeScript, and Go SDKs (baseten, @basetenlabs/client, @basetenlabs/sandbox, and baseten-go). Commands, methods, and responses can change. The Management API drive operations are experimental.Delete a drive
Before you delete a drive, unmount it from every sandbox that has it mounted. Deletion continues after the call returns, and the drive’s status isDELETING until it’s gone.
To delete the drive named shared-notes:
- TypeScript
- Python
- Go
- API
- CLI
Run the following code:
DELETING. To confirm the drive is gone,
list your drives.
Next steps
List drives
Check which drives your team still has.
Create a drive
Create a new drive.