def rename_workspace_config(namespace, workspace, cnamespace, config,<EOL>new_namespace, new_name):
body = {<EOL>"<STR_LIT>" : new_namespace,<EOL>"<STR_LIT:name>"      : new_name,<EOL>"<STR_LIT>" : {<EOL>"<STR_LIT>" : namespace,<EOL>"<STR_LIT:name>"      : workspace<EOL>}<EOL>}<EOL>uri = "<STR_LIT>".format(namespace,<EOL>workspace, cnamespace, config)<EOL>return __post(uri, json=body)<EOL>
Rename a method configuration in a workspace.

    Args:
        namespace (str): project to which workspace belongs
        workspace (str): Workspace name
        mnamespace (str): Config namespace
        config (str): Config name
        new_namespace (str): Updated config namespace
        new_name (str): Updated method name

    Swagger:
        https://api.firecloud.org/#!/Method_Configurations/renameWorkspaceMethodConfig