---
title: Marval Ticket Close
slug: homologacao-atmosphere/marval-ticket-close
description: Learn how to use the "Close Marval ticket" function with this comprehensive document. Discover the required parameter, "ticket_id," and explore an example of its usage. Find out how the function returns valuable information such as the boolean "changed" i
createdAt: 2022-04-25T14:16:05.000Z
---

## Resumo

- Feche um ticket Marval.

## Parâmetros

| **Parâmetro** | **Tipo** | **Escolhas \| Valor Padrão** | **Comentários**   |
| ------------- | -------- | ---------------------------- | ----------------- |
| ticket\_id    | int      |                              | Marval ticket ID. |



## Exemplos

```yaml
# Exemplo: Close Marval ticket
- marval_ticket_close:
    token: '{{ marval_token }}'
    ticket_id: 12345
    host: example.com
    scheme: https
```



## Valores retornados

| **Chave**  | **Tipo** | **Retornado quando** | **Descrição**                                 |
| ---------- | -------- | -------------------- | --------------------------------------------- |
| changed    | boolean  | Sucesso              | Se o ticket foi ou não fechado.               |
| ticket\_id | integer  | Sucesso              | Marval ticket ID.                             |
| host       | string   | Sucesso              | Marval host.                                  |
| msg        | string   | Sempre               | Mensagem descrevendo o resultado da operação. |

