Apex
CloudFiles Client
Update Resources
this function can be used to update resource (file or folder) properties like name, description etc global static void updateresources( list\<types updateresourceinput> inputs, string library, string runas ) parameters inputs list of types updateresourceinput docid\ kn6 felld0jczjr4zc9fo 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 updateresourceinput> inputs = new list\<cldfs types updateresourceinput>(); map\<string, string> updates = new map\<string, string>(); updates put('name', 'new name'); cldfs resource resourcetoupdate = new cldfs resource( '673f9fa0551db2164a42e392', 'folder', null, 'cloudfiles', 'workspace' ); inputs add(new cldfs types updateresourceinput(resourcetoupdate, updates)); cldfs client updateresources(inputs, 'cloudfiles', 'integrationuser');