Skip to content

Refresh (Feature Layer)

URL:
https://<adminfeatureservice-url>/<layerId>/refresh
Methods:
GET

Description

The refresh operation refreshes a layer in a service, which clears the web server cache for the layer.

Parameters

ParameterDetails
f

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

Values: html | json | pjson

Example Usage

Example 1: Refresh the first layer in a service named WorldService :

https://sampleserver10.arcgisonline.com/arcgis/rest/admin/services/WorldService/FeatureServer/0/refresh

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
{
  "success" : "<true | false>"
}

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.