volumes

Set volume read-only

Updates a volume's read-only status.

put/volumes/{id}

Request

  • Base URL
    http://localhost:9980/api
  • URL
    http://localhost:9980/api/volumes/{id}
  • Auth
    HTTP basic

Path parameters

idinteger required

Volume identifier.

Request body

readOnlyboolean required

Whether the volume should be read-only. A read-only volume will not accept new sectors.

Response

Volume updated.

Changes

No recorded changes to this operation across all 15 revisions of this API.