# Update ticket

**Necessary arguments**

-m (put)

-i (host)

-us y -p o -t (username and password or token only, depending on authentication)

-id (id ticket)

-tn (name ticket)

-tg (name group)

-tp (priority)

-ts (status)

-tsub (subject)

-tb (content)

-tt (type)

-tc (customer)

-tnote (note)

**Example manual execution :**

```
./pandora_zammad -m put -id 3  -i pandoraplugin -t <token> -tn probando123 -tg Users -tp 3 -tt note -ts 2 -tsub <subject> -tb "the content of the incident" -tnote note -tc <email>
```

The ticket will be updated with that id:

[![image-1641911410297.png](https://pandorafms.com/guides/public/uploads/images/gallery/2022-01/scaled-1680-/image-1641911410297.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2022-01/image-1641911410297.png)