Skip to main content

Delete disk

DELETE 

/disks/disk

Deletes a disk and moves it to the trash

Scopes

  • disks

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    disk

    object

    required

    id string

Responses

Deletes a disk and moves it to the trash

Schema

    disk

    object

    required

    id string
    name string
    size_in_gb integer
    wwn string
    state DiskStateEnum (string)

    Possible values: [not_built, failed, built, building, installing, restoring, formatting, resizing, configuring, importing]

    created_at integer
    storage_speed StorageSpeedEnum (string)

    Possible values: [nvme, ssd]

    io_profile

    object

    nullable

    id string
    name string
    permalink string
    speed_in_mb integernullable
    iops integernullable
    bus_type DiskBusEnum (string)nullable

    Possible values: [scsi, virtio]

    data_center

    object

    id string
    name string
    permalink string

    virtual_machine_disk

    object

    nullable

    virtual_machine

    object

    id string
    fqdn string
    attach_on_boot boolean
    boot boolean
    state VirtualMachineDiskAttachmentStateEnum (string)

    Possible values: [detached, failed, attached, attaching, detaching]

    installation

    object

    nullable

    id string

    disk_template_version

    object

    id string
    number integer
    stable boolean
    size_in_gb integer

    disk_template

    object

    id string
    name string
    description stringnullable
    permalink string
    universal boolean
    size_in_gb integernullable
    latest_version nullable

    operating_system

    object

    nullable

    id string
    name string

    badge

    object

    nullable

    url string
    file_name string
    file_type string
    file_size integer
    digest string
    token string

    attributes

    object[]

  • Array [

  • key string
    label string
    value stringnullable
    description stringnullable
    protect boolean
  • ]

  • trash_object

    object

    required

    id string
    keep_until integer
    object_id string
    object_type string
Loading...