> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Close Ticket

To close an incident or request, update it with the optional "close" object.

This close object must contains a valid status GUID, and optional fields like "end date". Doing so, the workflow will be stopped, the incident/request will be closed and further updates will be impossible.

Upon success an HTTP 201 OK is returned. The URI to the updated resources is provided, and the HTTP Header constains a location information to redirect the client to the newly created resource.

If the record is not found, a 404 error is returned.

<Note>
  External Documentation

  To learn more, visit the [EasyVista documentation](https://wiki.easyvista.com/xwiki/bin/view/Documentation/Integration/WebService%20REST/REST%20API%20-%20Close%20an%20incident-request/).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter | Description                         |
  | --------- | ----------------------------------- |
  | Comment   | The closing comment for the ticket. |
  | Status ID | The final status ID.                |
  | Ticket ID | The ID of the ticket.               |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter      | Description                             |
  | -------------- | --------------------------------------- |
  | Catalog ID     | The catalog ID of the ticket.           |
  | Delete Actions | Should the ticket's actions be deleted. |
</div>

## Example Output

```json theme={"dark"}
{
	"HREF": "uri"
}
```

## Workflow Library Example

[Close Ticket with Easyvista and Send Results Via Email](https://library.blinkops.com/workflows/close-ticket-with-easyvista-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/close-ticket-with-easyvista-and-send-results-via-email/canvas" />
</div>
