Signature

global static void moveResources(
  List<Types.MoveResourceInput> inputs,
  String library,
  String runAs
)
Parameters
ParameterDescription
inputs requiredList of Types.MoveResourceInput objects; one entry per resource to move.
library
String
requiredType of library. Example: sharepoint. You can get this value from the Content Library.
runAs
String
optionalEmail Id of the user on whose behalf the function should run. To run the action as the automation user, supply integrationUser.

Return Type

void

Example

List<cldfs.Types.MoveResourceInput> inputs = new List<cldfs.Types.MoveResourceInput>{
  new cldfs.Types.MoveResourceInput(
    '67ef8a5bd98d18e317d0891d',
    'file',                  
    'workspace',               
    '68887db5ef0b3ca7534dbbd5'
  )
};

cldfs.Client.moveResources(inputs, 'cloudfiles', 'integrationUser');