All Products
Search
Document Center

Edge Security Acceleration:DeleteVersion

Last Updated:Jul 16, 2026

Deletes a version of a site. Version 0 cannot be deleted.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

SiteId

integer

Yes

The site ID. You can call the ListSites operation to obtain the site ID.

1234567890***

SiteVersion

integer

Yes

The site version number.

8

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F

Examples

Success response

JSON format

{
  "RequestId": "3C6CCEC4-6B88-4D4A-93E4-D47B3D92CF8F"
}

Error codes

HTTP status code

Error code

Error message

Description

400 InternalException Failed to call the service. Try again later or contact technical support. Failed to call the service. Try again later or contact technical support.
400 Site.ServiceBusy This website is being configured. Try again later. This website is being configured. Try again later.
400 SiteVersion.NotExist The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again. The specified version is invalid or version management is not enabled for your website.Make sure that you specify a valid version and version management is enabled. Then, try again.
400 SiteVersion.DeleteDenied Failed to delete the version because it has been deployed to an environment. Make sure that the version is not deployed to any environment and try again. Failed to delete the version because it has been deployed to an environment. Make sure that the version is not deployed to any environment and try again.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.