Volume

Delete volume

Deletes a volume permanently. Provide the volume ID in the path to specify the volume to be deleted.

State requirement: This operation requires the volume to not be currently attached to any VM. Detach with Detach volumes before deleting.

delete/core/volumes/{volume_id}

Request

  • Base URL: https://infrahub-api.nexgencloud.com/v1
  • URL: https://infrahub-api.nexgencloud.com/v1/core/volumes/{volume_id}
  • Auth: API key in header api_key

Path parameters

volume_idinteger required

ID of the volume.

Response

Volume successfully deleted.

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

Example response

{
  "status": true,
  "message": "Instance is being deleted."
}

Changes

No recorded changes to this operation across all 1 revision of this API.