Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisRemoveDatabase

int ctMemphisRemoveDatabase( pRCESJson request, ppRCESJson result )

Description:

Remove a Database from the Replication Manager Database.

HTTP URL: <baseURL>/ctMemphisRemoveDatabase/

HTTP Verb: POST

Constraints:

  • If the given Database is in use by any Publication, an error message with the list of Publication names will be returned.
  • If the given Database is in use by any Subscription, an error message with the list of Subscription names will be returned.

Parameters:

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

{

"database": {

"id": 1

}

}

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

{

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex