Volume

"Update a volume. Valid only for Swarm cluster volumes"

Changed on
put/volumes/{name}

Request

  • Base URL
    /v1.57 (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    none declared

Path parameters

namestring required

The name or ID of the volume

Query parameters

versioninteger required

The version number of the volume being updated. This is required to avoid conflicting writes. Found in the volume's ClusterVolume field.

Request body

Response

no error

Changes

    • breaking

      removed the request body

    • breaking

      removed the success response with the status

    • info

      api tag Volume added

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status

    • breaking

      request body became required

    • breaking

      removed the success response with the status

    • info

      api tag Volume removed

    • info

      the request property default value active was removed

    • info

      the request property default value single was removed

    • info

      the request property default value none was removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the success response with the status