# Editing from the UI

## Updating a Request by Editing

{% stepper %}
{% step %}
Navigate to the requests list page

[http://localhost:4200/agent/requests](http://localhost:4201/agent/requests)
{% endstep %}

{% step %}
Right click on the request we want to edit and click 'Edit'

<figure><img src="https://3980092275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLvhXOE-py5MDUOXDKD%2Fuploads%2Fgit-blob-6f66a2c08944e536b99b84ddcea0edf015a295ea%2Frequest-edit-dropdown.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Clicking on one of the following buttons to edit the respective property

<figure><img src="https://3980092275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLvhXOE-py5MDUOXDKD%2Fuploads%2Fgit-blob-27dd1a3bf0dfcb8a3f7888efee8032ec0ecfaa0e%2Frequest-edit-details.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
A prompt should pop up. Edit as needed and click 'UPDATE'

<figure><img src="https://3980092275-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MLvhXOE-py5MDUOXDKD%2Fuploads%2Fgit-blob-270c2c34ec6d1b3e25eca0de315ddcf84fc39395%2Frequest-edit-prompt.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**(Optional) Persist the updated request with a snapshot**

If you want to version control or share the updated request, create a snapshot:

```bash
stoobly-agent request snapshot "<REQUEST-KEY>"
```

You can copy the request key from the request details page. For more information, see [how to snapshot requests](https://docs.stoobly.com/guides/how-to-mock-apis/how-to-snapshot-requests).
{% endstep %}
{% endstepper %}
