Ticket types
Update
Update a ticket type
PUT https://api.deskero.com/ticketType/update/{{ticketTypeId}}
Headers
Header | Value |
---|---|
Authorization | Bearer {{bearer}} |
Content-Type | application/json |
clientId | {{clientId}} |
Example request
$ curl https://api.deskero.com/ticketType/update/5277c21ce4b0d3bd74d43841 \
-v \
-H "Content-type: application/json" \
-H "Authorization: Bearer 58cfg61g-1585-5c72-g35f-7fe76893ed2f" \
-H "clientId: 51f01687e4b094c81d7b8bcdellef" \
-X PUT \
-d '{
"type": "notification",
"labels": {
"en": "notification",
"it": "notifica",
"fr": "notification",
"es": "notificación"
}
}'
Example response
Updated ticket type id
{
"id": "5277c21ce4b0d3bd74d43841"
}