API reference
Volumes
8 operations. Each page has the request, the response, the errors and examples in curl, TypeScript, Python and the CLI.
- GETList live volumes in the project
/v1/volumes - POSTCreate a network volume (billed per GB-second until deleted)
/v1/volumes - GETGet a volume, where it is pinned and which pods mount it
/v1/volumes/{volume_id} - PATCHRename a volume
/v1/volumes/{volume_id} - DELETEDelete an unattached volume and its data (irreversible; billing stops now)
/v1/volumes/{volume_id} - POSTGrow a volume (sizes never shrink)
/v1/volumes/{volume_id}/grow - POSTMount the volume in a pod (recreates the pod’s container; see the plan)
/v1/volumes/{volume_id}/attach - POSTUnmount the volume from a pod (recreates the pod’s container; the data is kept)
/v1/volumes/{volume_id}/detach