All Products
Search
Document Center

Cloud Firewall:DeleteControlPolicyTemplate

Last Updated:Oct 14, 2025

Deletes an access control policy template.

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

SourceIp

string

No

The source IP address.

61.178.12.52

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese

  • en: English

en

Lang

string

No

The language of the request and response. Valid values:

  • zh (default): Chinese

  • en: English

en

TemplateId

string

Yes

The ID of the access control policy template.

719ce620-ae23-4e42-9f93-9191b4400b55

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

4E7F94C7-781F-5192-86CF-DB085013C810

Examples

Success response

JSON format

{
  "RequestId": "4E7F94C7-781F-5192-86CF-DB085013C810"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorParametersUid The aliUid parameter is invalid. The aliUid parameter is invalid.
400 ErrorParameterIpVersion The IP version is invalid. The IP version is invalid.
400 ErrorParametersDirection The direction is invalid. The direction is invalid.
400 ErrorDBSelect An error occurred while querying database. An error occurred while querying database.
400 ErrorUnmarshalJSON An error occurred while parsing JSON. An error occurred while decoding JSON.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.