All Products
Search
Document Center

Function Compute:DeleteLayerVersion

Last Updated:Aug 20, 2025

You can call this operation to delete a layer version.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample codes.

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

Error codes

For a list of error codes, visit the API Error Center.