Modify a Media Storage
Format
| Method | POST |
|---|---|
| URL | /tasks/create |
| Request content | MediaStorageModify Object |
| Successful answer | TaskResult Object |
| Unexpected error | HTTP 500 |
MediaStorageModify Object
Schema
| type | String | Task type identifier. In this case, "mstorage_modify" |
|---|---|---|
| media_storage_id | String | Unique identifier of the Media Storage |
| host_list | String | New comma-separated host list of this Media Storage |
| ip_address | String | New IP address of the CIFS server |
| path | String | New path to the shared resource in the CIFS server |
| username | String | New username to log in the CIFS server |
| password | String | New password to log in the CIFS server |
JSON example
{
"type": "mstorage_modify",
"media_storage_id": "local",
"host_list": "flexdev01",
"ip_address": "127.0.0.1",
"path": "/cifs",
"username": "flexvdi",
"password": "secret"
}
, multiple selections available,