> For the complete documentation index, see [llms.txt](https://docs.samesystem.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samesystem.dev/business-guides/employee-lifecycle-management/terminate-employees/cancellation-of-future-hire.md).

# Cancellation of future hire

If an employee is hired, but the employment is cancelled before the employee starts, you will have the following options to terminate the employee:

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">The employee has not been created</td><td valign="top">No need to do anything.</td></tr><tr><td valign="top">The employee has been created without a contract</td><td valign="top"><p>No need to do anything.</p><p>or</p><p>Delete the user</p><p> </p><p>See notice below.</p></td></tr><tr><td valign="top">Employee and contract have been created</td><td valign="top"><p>Terminate user<br>or</p><p>Delete a user</p><p><br>See notice below</p></td></tr></tbody></table>

<figure><img src="https://2670147116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRlKDeTWSTdLA0zl6vlB2%2Fuploads%2FTynkLBFMtDgQAkKFkB07%2Fimage.png?alt=media&amp;token=22ede77f-cc96-4d4b-8694-405b7b24a61d" alt=""><figcaption></figcaption></figure>

If a contract has been created, you can see under Contracts that the employment will be ended after the termination date.

<figure><img src="https://2670147116-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRlKDeTWSTdLA0zl6vlB2%2Fuploads%2FaYW63WzV8XfusK9vylKn%2Fimage.png?alt=media&amp;token=6a870767-721e-4d86-ba3d-12aa8a209e42" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
**Notice:**

There is an API endpoint for deleting a user. Using this endpoint will permanently remove the user and all associated data, including schedules, logs, files, and historical records.

When the delete endpoint is called, the user is immediately disabled, and the system schedules a background job to permanently destroy the user after 24 hours. During this 24-hour window, the user can still be restored by a supervisor at SameSystem.

The recommended method is to terminate a user. Termination preserves all user data in the system and allows you to rehire the user later or review their historical information.

A terminated user will not have access to the system from the termination date onward, but their data remains available for reporting and audit purposes.

**User without a contract:**\
If a user has been created without a contract, there is no need to terminate them because they are in draft status, and draft users cannot be terminated. You can delete the user if you need to destroy the user completely.\
\
**User with contract:**\
To cancel a future hire with a future existing contract, terminating the contract will leave the user with at least a one-day contract, which is often unintended if the goal is to completely avoid any contract. In these cases, user deletion is the better approach if there are no other contracts. We do not allow removal of the first contract.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samesystem.dev/business-guides/employee-lifecycle-management/terminate-employees/cancellation-of-future-hire.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
