Unregister Replica (Feature Service)

URL:
https://<root>/<serviceName>/FeatureServer/unRegisterReplica
Methods:
POST
Required Capability:
Create,Update,Delete,Sync
Version Introduced:
10.0

Description

The unRegisterReplica operation is performed on a feature service resource. This operation unregisters a replica on the feature service. It requires the Sync capability. See Sync overview for more information on sync.

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

New in 10.5.1

  • The unregisterReplica operation now supports a replicaID value of * .

Request parameters

ParameterDetails

f

The response format. The default response format is html .

Values: html | json

replicaID

The replicaID returned by the feature service when the replica was created.

The ID of a replica can also be found by accessing the feature service Replicas resource.

New in 10.5.1: If * is provided, all replicas accessible by the logged in user are removed.

This is a required parameter.

Syntax: replicaID=<replicaID>

Example: replicaID=replicaID

Example usage

Unregister a replica:

https://services.myserver.com/lidGgNLxw9LL0SbI/ArcGIS/rest/services/SaveTheBay/FeatureServer/unRegisterReplica?replicaID={b7b70c50-7b8d-4938-a6f9-61f376e94c75 }

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
}

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