- URL:https://<geodataservice-url>/unRegisterReplica(POST only)
- 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
Parameter | Details |
---|---|
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
{
"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."
]
}
}