Updated on 2024-04-19 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

Specifies the project ID.

l7policy_id

Yes

String

Specifies the forwarding policy ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the token used for IAM authentication.

Response Parameters

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.