Updated on 2025-08-29 GMT+08:00

Deleting a Forwarding Policy

Function

This API is used to delete a forwarding policy.

Calling Method

For details, see Calling APIs.

URI

DELETE /v3/{project_id}/elb/l7policies/{l7policy_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Definition: Specifies the project ID. For details about how to obtain a project ID, see Obtaining a Project ID.

Constraints: N/A

Range: The value can contain a maximum of 32 characters, including digits and lowercase letters.

Default value: N/A

l7policy_id

Yes

String

Definition: Specifies the forwarding policy ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition: Specifies the token used for IAM authentication.

Constraints: N/A

Range: N/A

Default value: N/A

Response Parameters

Status code: 204

Successful request.

None

Example Requests

Delete a given forwarding policy

DELETE https://{ELB_Endpoint}/v3/99a3fff0d03c428eac3678da6a7d0f24/elb/l7policies/cf4360fd-8631-41ff-a6f5-b72c35da74be

Example Responses

None

Status Codes

Status Code

Description

204

Successful request.

Error Codes

See Error Codes.