Modify a Media Storage

Format

MethodPOST
URL

/tasks/create

Request contentMediaStorageModify Object
Successful answerTaskResult Object
Unexpected errorHTTP 500

MediaStorageModify Object

Schema

typeStringTask type identifier. In this case, "mstorage_modify"
media_storage_idStringUnique identifier of the Media Storage
host_listStringNew comma-separated host list of this Media Storage
ip_addressStringNew IP address of the CIFS server
pathStringNew path to the shared resource in the CIFS server
usernameStringNew username to log in the CIFS server
passwordStringNew 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"
}

 

Â