Apex
CloudFiles Client
Move Resources
this function can be used to move resources (files/folders) from one location to another within the same external storage drive global static void moveresources( list\<types moveresourceinput> inputs, string library, string runas ) parameters inputs list of types moveresourceinput docid\ djwghx8gana6kyu4hzvhx objects library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij runas email id of the user on whom behalf the function should run if you want to run the action as automation user, supply integrationuser return type this functions doesn't return anything example list\<cldfs types moveresourceinput> inputs = new list\<cldfs types moveresourceinput>{ new cldfs types moveresourceinput( '673f9fa0551db2164a42e392', 'folder', 'workspace', '6761bc5d7e748db3f896e416' ) }; cldfs client moveresources(inputs, 'cloudfiles', 'integrationuser');