shared-driveprivate
Validated on 14 Dec 2023 • Last edited on 13 Feb 2024
Manage your shared drives. Shared drives are used to centralize data used by your team. Shared drives are mounted on any Paperspace machine in the same private network.
For more information, see shared drives.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace shared-drive create
Create a shared drive.
Flags
–fields, -F (string, optional)
The fields to include in the response.
–name, -n (string, required)
The name of the shared drive
–network-id (string, required)
The ID of the network to create the shared drive in
–region (string, required)
The region to create the shared drive in
–size (number, required)
The size of the shared drive
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace shared-drive get
Get a template from a team.
Arguments
[argument] (string, required)
The ID of the shared drive to get
Flags
–fields, -F (string, optional)
The fields to include in the response.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace shared-drive list
List shared drives in your team or project.
Pick a subset of fields to display:
pspace shared-drive list -F name -F dtModified
Flags
–limit (number, optional)
The number of items to return in the next page.
–after (string, optional)
The cursor to fetch the next results from.
–orderBy (string, optional)
The field to order items by. One of dtCreated
.
–asc (boolean, optional)
Whether to order items ascending.
–desc (boolean, optional)
Whether to order items descending.
–fields, -F (string, optional)
The fields to include in the response.
–name, -n (string, optional)
Filter by name.
–region, -r (string, optional)
Filter by region.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command
pspace shared-drive delete
Delete a shared drive from a team.
Arguments
[argument] (string, required)
The ID of the shared drive to delete
Flags
–fields, -F (string, optional)
The fields to include in the response.
Global Flags
These flags are available on all commands.
–log-level, -l (string, optional)
Enable debug logging. One of debug
, info
, warning
, error
, or critical
.
–json, -j (boolean, optional)
Output JSON
–api-key (string, optional)
A Paperspace public API Key used for authenticating requests
–help, -h (boolean, optional)
Show help for a command