Rename MediaCentral asset

This task renames an asset in MediaCentral.

main

Asset path
This is the path of the asset that we want to rename.

New name
This is the new name that we wish to give the asset. However, if the new name assigned to the asset is not valid, we get this error :

{ 
    'Error': [ 
        {
            'InterplayURI': None, 
            'Message': 'An invalid parameter was used', 
            'Details': 'The passed in USER.Display Name mydup/media contains an illegal character.', 
            'Extension': None, 
            '_value_1': None, 
            'Code': 'INVALID_PARAMETER',
            '_attr_1': { } 
        } 
    ]    
}