Hi all,
I have tried without luck to change the name of a zvol through the API but no luck so far.
Request:
https://foo.bar.tld/api/v1.0/storage/volume/(name of pool)/zvols/zvol
Body:
{
"name": "myzvol"
}
Response:
{
"name": "zvol",
"volsize": 536870912
}
Is this a bug or a missing feature?
Should I rename a zvol some other way through the API?
Regards,
Michael.
I have tried without luck to change the name of a zvol through the API but no luck so far.
Request:
https://foo.bar.tld/api/v1.0/storage/volume/(name of pool)/zvols/zvol
Body:
{
"name": "myzvol"
}
Response:
{
"name": "zvol",
"volsize": 536870912
}
Is this a bug or a missing feature?
Should I rename a zvol some other way through the API?
Regards,
Michael.