Unregister Replica (Geodata Service)

URL:
https://<root>/<serviceName>/GeoDataServer/unRegisterReplica
Methods:
POST
Version Introduced:
10.2.1

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

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

replicaID

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:

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

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
   "success": <true | false>,
   "error": {
      "code": <error>,
      "message": "<message>",
      "details": "<details>"
    }
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
   "success": true
}

JSON Response example

Unregistering replica fails because replica not found.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{
 "error": {
  "code": 1,
  "message": "Unable to complete operation.",
  "details": [
   "Replica not found."
  ]
 }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.