Unregister Replica (Geodata Service)

Description

The unRegisterReplica operation is performed on a Geodata Service resource. This operation unregisters a replica on the geodata service. Unregistering a replica is only supported when logged in as an admin user.

You can provide arguments to the unRegisterReplica operation as defined in the following parameters table:

Request parameters

Parameter

Details

f

Description: The response format. The default response format is html.

Values: html | json

replicaID

Description: The ID of the replica. The ID of a replica can be found by accessing the Geodata Service Replicas resource.

This is a required parameter.

Syntax: replicaID=<replicaID>

Example: replicaID=replicaID

Example usage

Example 1: Unregister a replica:

http://services.myserver.com/lidGgNLxw9LL0SbI/ArcGIS/rest/services/Counties/GeodataServer/unRegisterReplica?replicaID=B0B5F6C5-5E04-40E1-A811-68B05EA243A7 }

JSON response syntax

{
   "success": <true | false>,
   "error": {
      "code": <error>,
      "message": "<message>",
      "details": "<details>"
    }
}

JSON response example

{
   "success": true
}

JSON response example

Unregistering Replica fails because Replica not found

{
 "error": {
  "code": 1,
  "message": "Unable to complete operation.",
  "details": [
   "Replica not found."
  ]
 }
}

9/13/2017