Apex
CloudFiles Client

Create Folders

this method creates folders in external storage like sharepoint, google drive etc global static list\<resource> createfolders( list\<types createfolderinput> inputs, string libraryid, string runas ) parameters inputs list of types createfolderinput docid\ boecl uvwqylalrg1e6r8 libraryid 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 list of resource docid\ mr7u7qdhigoasucpf nlr objects example list\<cldfs types createfolderinput> inputs = new list\<cldfs types createfolderinput>{ new cldfs types createfolderinput('01pljoyloawjbfgbse7fhk5akosimdio6h', 'testfolder', 'b!zfa15hrs1uy9ph3vw5tfjahfp1lrylzavdwlnhyyq8sa l6ejxb tjbmyuxi1qfl', null) }; list\<cldfs resource> folders = cldfs client createfolders( inputs, 'sharepoint', 'integrationuser' );