Skip to main content

Update an external disk

PATCH 

/disks/external/:label

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request PATCH \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/disks/external/{label}"

Sets whether this disk's /mnt/disks/<label> mount is a local backup destination. Enabling it on the Unraid USB stick is refused with unraid_stick (409).

Request​

Responses​

The updated external disk.