Deleting a Policy¶
Function Description¶
This API is used to delete a policy.
URI¶
URI format
DELETE /v1/{project_id}/waf/policy/{policy_id}
Parameter description
¶ Parameter
Mandatory
Type
Description
project_id
Yes
String
Specifies the project ID.
policy_id
Yes
String
Specifies the policy ID.
Request¶
Request parameters
None
Response¶
Response parameters
None
Status Code¶
Table 2 describes the normal status code returned by the API.
Status Code | Description | Meaning |
---|---|---|
204 | No Content | The server successfully processed the request and is not returning any content. |
For details about error status codes, see Status Codes.