---
title: "Disconnect Xero Source"
method: DELETE
path: "/v1/matters/{matter_id}/integrations/xero"
tags: ["xero"]
---

# Disconnect Xero Source

`DELETE /v1/matters/{matter_id}/integrations/xero`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/matters/{matter_id}/integrations/xero`
- Auth: HTTP bearer

## Path parameters

- `matter_id` string, uuid, required

## Request body

- XeroSourceCommand
  - `source_id` string, uuid, required
  - `replace_modified_workbooks` boolean

## Response `200`

Successful Response

- XeroSourceDisconnected
  - `status` 'disconnected', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
