---
title: "Deletes an existing file association"
method: DELETE
path: "/Files/{FileId}/Associations/{ObjectId}"
tags: ["Files"]
---

# Deletes an existing file association

`DELETE /Files/{FileId}/Associations/{ObjectId}`

By passing in the appropriate options, you can create a new folder

## Path parameters

- `FileId` string, uuid, required
- `ObjectId` string, uuid, required

## Response `204`

Successful deletion - return response 204 no content

## Changes

- **2024-06-18** `bb86098f8245` — 1 breaking
  - added the new required `header` request parameter `xero-tenant-id` to all path's operations
- **2024-05-10** `d599b701a104` — 1 breaking
  - added the new required `header` request parameter `xero-tenant-id` to all path's operations

[Change history](https://skmtc.dev/xeroapi/apis/xero-files-api/changes/Files/:FileId/Associations/:ObjectId/delete.md)

---

[API](https://skmtc.dev/xeroapi/apis/xero-files-api.md) · [All operations](https://skmtc.dev/xeroapi/apis/xero-files-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xeroapi/xero-files-api/revisions/52cdc688e428/schema)
