Skip to main content
DELETE
Delete a volume
CLI equivalent: ornn volumes delete <volume> --yes --idempotency-key <key> --format json.

Authorizations

Authorization
string
header
required

Create an organization API key in Account Settings > Developer. Do not send this key to the Kubernetes API server.

Path Parameters

drive_id
string<uuid>
required

Volume ID.

Query Parameters

detach
boolean
default:false

Detach the volume from its reservation first, then delete it in the background.

Response

Detach and deletion accepted. Poll Get a volume until it returns 404.