# Edit Bulk Metadata for Instances

You may want to edit the metadata key-value pairs to make modifications to the values of the keys. If you wish to edit keys in the key-value pair, you can add a new key-value pair with the modified key and its corresponding value by clicking the Add key-value metadata. You can remove the erroneous key-value pair by referring to Remove Bulk Metadata from Instance.

You must be a self-service user or an administrator to perform this operation.

To edit the bulk metadata for an instance, follow the steps given below.

1\. Log in to Clarity.

2\. Click Instances in the left panel.

3\. Select the checkbox for the instance to which you want to add metadata in bulk.

4\. Click Settings on the toolbar seen above the list of instances.

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

5\. Click Edit Bulk Metadata.

6\. Enter the new value for an existing key if you wish to correct the value. Click Add key-value metadata to add new key-value as it is not possible to edit an existing key.

7\. Click Save.

The new value for the key is saved to the key-value pair for the instance.


---

# 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.platform9.com/managed-openstack/5.8/instances/virtual-machines-bulk-edit-metadata-instances.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.
