# How to Edit a L7 Policy?

To edit a L7 Policy in Kubernetes load balancer, follow the steps given below:

**Step 1:** [Login](https://customer.acecloudhosting.com/index.php?m=ace_product_register_addon\&action=login) to your account.&#x20;

<figure><img src="/files/BKeUYhqmD9eiFySfL6P0" alt=""><figcaption></figcaption></figure>

**Step 2:** Navigate to **Services** and then click on **My Services.**

<figure><img src="/files/SqfQeGkUmWfiDcBaHZ0e" alt=""><figcaption></figcaption></figure>

**Step 3:** Click on your project.

<figure><img src="/files/tZctAET3MVmg8XaHR7tt" alt=""><figcaption></figcaption></figure>

**Step 4:** Navigate to **Kubernetes** and then click on **K8s Load Balancer**.

<figure><img src="/files/L1bs5QLMBtGUteR7Y7X4" alt=""><figcaption></figcaption></figure>

**Step 5:** Click on the load balancer name for which you want to edit L7 Policy.

<figure><img src="/files/2WUR51fklY0b0T3h60F5" alt=""><figcaption></figcaption></figure>

**Step 6:** Go to **Listener** tab and click on the listener's name for which you want to edit L7 Policy.

<figure><img src="/files/Fioh0ruIUJ4Bqxj7wmA2" alt=""><figcaption></figcaption></figure>

**Step 7:** Go to the **L7 Policies** tab and click on three dots against the policy you want to edit.

<figure><img src="/files/dozPAUmvn0E9fwtj9a8z" alt=""><figcaption></figcaption></figure>

**Step 8:** Click on **Edit L7 Policy**

<figure><img src="/files/4AHqQAczn6kUZUju1D9X" alt=""><figcaption></figcaption></figure>

**Step 9:** Update the details and click on **Submit**.

<figure><img src="/files/QPI4CJnSXFINZSWvQxnw" alt=""><figcaption></figcaption></figure>

| Field       | Description                                                              |
| ----------- | ------------------------------------------------------------------------ |
| Name        | Enter the name for L7 Policy.                                            |
| Description | Enter the description for L7 Policy.                                     |
| Action\*    | Select Reject as the L7 policy action.                                   |
| Position    | Enter the position of this policy on the listener. Positions start at 1. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acecloud.ai/knowledge-base/kubernetes/how-to-edit-a-l7-policy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
