You can call this operation to delete a layer version.
Request headers
This operation uses only common request headers. For more information, see Common parameters.
Request syntax
DELETE /layers/{layerName}/versions/{version} HTTP/1.1
Request parameters
Parameter | Type | Position | Required | Example | Description |
---|---|---|---|---|---|
layerName | String | Path | Yes | Layer-name |
The name of the layer. |
version | String | Path | Yes | 1 |
The version of the layer. |
None
Examples
Sample requests
DELETE /2016-08-15/layers/Layer-name/versions/1 HTTP/1.1
Common request headers
Sample success responses
JSON
format
HTTP/1.1 200 OK