@digitalocean/dots - v1.0.1
    Preparing search index...

    Interface ActionsRequestBuilderPostQueryParameters

    To initiate an action on a block storage volume by Name, send a POST request to~/v2/volumes/actions. The body should contain the appropriateattributes for the respective action.## Attach a Block Storage Volume to a Droplet| Attribute | Details || ----------- | ------------------------------------------------------------------- || type | This must be attach || volume_name | The name of the block storage volume || droplet_id | Set to the Droplet's ID || region | Set to the slug representing the region where the volume is located |Each volume may only be attached to a single Droplet. However, up to fifteenvolumes may be attached to a Droplet at a time. Pre-formatted volumes will beautomatically mounted to Ubuntu, Debian, Fedora, Fedora Atomic, and CentOSDroplets created on or after April 26, 2018 when attached. On older Droplets,additional configurationis required.## Remove a Block Storage Volume from a Droplet| Attribute | Details || ----------- | ------------------------------------------------------------------- || type | This must be detach || volume_name | The name of the block storage volume || droplet_id | Set to the Droplet's ID || region | Set to the slug representing the region where the volume is located |

    interface ActionsRequestBuilderPostQueryParameters {
        page?: number;
        perPage?: number;
    }
    Index

    Properties

    Properties

    page?: number

    Which 'page' of paginated results to return.

    perPage?: number

    Number of items returned per page