> For the complete documentation index, see [llms.txt](https://docs.stayonhire.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stayonhire.com/integrations/xero/disconnect-reconnect.md).

# Disconnect / Reconnect

## 1. Go to Xero Integration

Navigate to [Settings > Integrations > Xero > Authentication](https://app.stayonhire.com/org/integration/xero/)

<figure><img src="https://lh7-us.googleusercontent.com/gK4EFXqPcFngzb22vb6Tq4cm112AWbQSPePAaAjhXu93L3hV4IAkSYu8YsJBIHWJoqOWuAtfv6xtBOHB8l4nvOoXM01da0H6lMCGkKcXAIW61empdcT6r6204yBjjLfzsvjBS_NBlMLcfS8iNhoCr1c" alt=""><figcaption></figcaption></figure>

## 2. Revoke authentication

Click “Permanently delete connection”

<figure><img src="https://lh7-us.googleusercontent.com/22Uw4vaQndXfIxOHt7UG_5EL2nDb-H_59Tui5sEgcYlOG0HTVpOs7Hs9G3k5lQyDHiJ0fHojsUTgsaUdboZODthhaOEnLHvOHzWzXfYkWOU_9rOL8BBVHLFcVcadjnrl1cGYmvQVfaESr68sOSDpGOE" alt=""><figcaption></figcaption></figure>

This will remove your account connection with Xero.

## 3. Deleting Leftover Data

This disconnection process will not remove imported data (such as accounts, tax rates, contacts etc.), but rather remove any live connection to your Xero account.

To delete all reference data remaining, navigate to each relevant page (i.e. Tax Rates in the settings page), select all and delete all.

## 4. Re-connection

A StayOnHire account can be re-connected back to the same Xero organisation at a later date.

The reconnection will keep any historically mapped data and not duplicate or overwrite it.

If connecting a new Xero organisation to your StayOnHire account, we recommend deleting leftover Tax Rates and Accounts before proceeding to prevent any unnecessary duplicate data (such as two '200 Sales' accounts, one from your previous Xero organisation and one from your newly connected integration).


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.stayonhire.com/integrations/xero/disconnect-reconnect.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
