Skip to main content

Register a disk as external

POST 

/disks/external

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

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

Assigns a non-array, non-boot disk the Ignore/external role with a label used as /mnt/disks/<label>. Does not mount or format. The boot device is refused, and so is the Unraid USB stick (unraid_stick, 409).

Request​

Responses​

The registered external disk.