- URL:https://<datastores-url>/refreshServer(POST only)
- Version Introduced:10.7.1
After a data store has been registered, there may be times in which the data store's registration information may be changed. When changes like these occur, the server will need to be updated with the newly configured information so that your users will still be able to access the data store items without interruption. The refreshServer operation can be called to propagate these changes to your ArcGIS Server. This operation can only be performed after the data store information has been updated.
The itemId of the data store that has been updated.
The serverId. A data store may be registered across multiple servers. Use the getServers operation to return every server the data store is registered to.
The response format. The default format is html.
Value: html | json
Below is a sample URL for the refreshServer operation.
If successful, refreshServer will return the following success message:
If the operation fails, refreshServer will return an error similar to the message below:
"code" : 500,
"message" : "Server is not reachable.",
"details" : [
"Server is not reachable."