How to Deactivate a Machine

Machines are Linux and Windows virtual machines with persistent storage, GPU options, and free unlimited bandwidth. They’re designed for high-performance computing (HPC) workloads.


Deactivating a Paperspace machine permanently removes the machine, its files, and its snapshots from your Paperspace account. You can deactivate a machine using the Paperspace console, Paperspace API, or Paperspace CLI.

To save files from your machine before deactivation, transfer the files to another machine or local device. You can also create a custom template of your machine, which lets you create a new machine with the same data and configuration in the future.

Before deactivating your machine, you need to turn off your machine.

Deactivate a Machine Using the Paperspace Console

To deactivate your machine, go to the Paperspace console, in the top-right corner, click the dropdown menu, select CORE, then click the Machines tab. In the Machines section, click the machine you want to deactivate.

On the machine’s overview page, in the top-right corner, click the Settings tab. At the bottom of the Settings page, in the Deactivate machine section, click DEACTIVATE to open the Deactivate machine window.

The Deactivate section of the machine's Settings page.

In the Deactivate machine window, click DEACTIVATE if you still want to deactivate your machine.

The Deactivate machine window from the Deactivate section of the machine's Settings page.

Once your machine is deactivated, you’re redirected to the Machines tab.

Deactivate a Machine Using the Paperspace API

When deactivating a machine using the Paperspace API, you need to provide the ID of the machine you want to delete.

How to Deactivate a Machine Using the Paperspace API
  1. Create an API key to authenticate your requests to your Paperspace account and save it for use.

  2. Send a DELETE request to https://api.paperspace.com/v1/machines/{machine-id}.

curl -X DELETE \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $PAPERSPACE_API_KEY" \
  -d '{"id":"psm9u09bwu5i"}' \
  "https://api.paperspace.com/v1/machines/psm9u09bwu5i"

Deactivate a Machine Using the Paperspace CLI

When deactivating a machine using the Paperspace CLI, you need to provide the ID of the machine you want to delete.

How to Deactivate a Machine Using the Paperspace CLI
  1. Install pspace, the Paperspace command-line tool.

  2. Create an API key to authenticate your requests to your Paperspace account and save it for use with pspace.

  3. Use the API key to grant pspace access to your Paperspace account.

pspace login --api-key your-api-key
  1. Finally, run pspace machine delete <machine-id>.
pspace machine delete psm9u09bwu5i