# Hooks - Actions

This page explain the action items and its working for Hooks. Select the hook for which user want to perform some actions.\\

<figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/T8iKM0jGSwlJEdGV6rH3/hook%20action%20options.jpeg" alt=""><figcaption></figcaption></figure>

1. Edit action - This edits the existing hook. Apart from **Namespace** and **Name** user can edit all other fields.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/af8WbTmn75ms4BuxdX79/edit%20hook.jpg)
2. Clone action - This clone the existing Hook in another namespaces with same detail.
   1. Select Namespace - First step is to select the Namespaces in which user want to clone the hook.\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/yrUNIpV31nQzqhOOf5q6/clone%20select%20ns.jpeg)\
      \
      Click on the **Clone** button after selecting the namespaces to move to next step.
   2. Hook name by "By Name" - Here, the user can set a name for the cloned hook by a text.\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/lOXk0TgYeb94EzG219fZ/clone%20hook%20by%20name.jpeg)\
      \
      Click on the **Clone** button if user wish to clone by hook name.
   3. Hook name by "By Suffix" - Here, the user can set a name for the cloned hook by a suffix.\
      ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/O90LeRrgl47bUJz05Ziw/clone%20by%20suffix.jpeg)\
      \
      Click on the **Clone** button to clone the hook by suffix.
3. View YAML action - This shows the hooks detail in yaml file format.\
   ![](https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/gu2QLMLyFiruzpi4zL6u/view%20yaml.jpeg)\
   \
   If user want to download it, user can click on 'Download' button to download this in YAML file format.
4. Delete action - This is to delete the hook.

   <figure><img src="https://content.gitbook.com/content/9sDjF5HJP1bf8TtLcgkk/blobs/DlFj18tMzHx642xu644H/delete%20hook.jpeg" alt="Create Backup options"><figcaption></figcaption></figure>

   To confirm the delete, click on 'Yes' else click on 'No'.
