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

# ReleaseTicket

> Call ReleaseTicket in the ABBYY FlexiCapture API to release a licensing ticket by session and ticket ID, freeing the license for reuse.

## What it does

Releases a licensing ticket.

## Definition

```
void ReleaseTicket( int sessionId, int ticketId );
```

## Parameters

| **Name**  | **Type** | **Description**                                    |
| --------- | -------- | -------------------------------------------------- |
| sessionId | int      | The ID of the connection to the Application Server |
| ticketId  | int      | The ID of the licensing ticket                     |

## Returned value

None.
