Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisRemoveFilesFromGroup

int ctMemphisRemoveFilesFromGroup( pRCESJson request, ppRCESJson result )

Description:

Remove file(s) from a File Group. If group is in use in any replication plan, update its replication file lists. If there is any replication plan referencing the given file group, and it is active, error it out.

HTTP URL: <baseURL>/ctMemphisRemoveFilesFromGroup/

HTTP Verb: POST

Parameters:

  • request [IN] - Remove Group File request in JSON format. For example:

{

"id": 0,

"fileList": [

{"file": 0},

{"file": 3},

{"file": 63},

{"file": 834}

]

}

  • result [OUT] - Result in JSON format. For example:

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex