Apex
CloudFiles Client
Copy Resources
this function can be used to copy resources (files/folders) from one location to another within the same external storage drive global static void copyresources( list\<types copyresourceinput> inputs, string library, string driveid, string runas ) parameters inputs list of types copyresourceinput docid\ trcfitvfrojfiltc4qawe object library type of library example sharepoint you can get this value from content library docid\ wtj62wux2a6hgfwvpm4ij driveid only applicable for sharepoint and google library if of the drive in the library 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 copyresourceinput> inputs = new list\<cldfs types copyresourceinput>{ new cldfs types copyresourceinput( '673f9fa0551db2164a42e392', '6761bc5d7e748db3f896e416', 'workspace' ) }; cldfs client copyresources( inputs, 'cloudfiles', 'workspace', 'integrationuser' );