---
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

---

[API](https://skmtc.net/xeroapi/apis/xero-files-api.md) · [All operations](https://skmtc.net/xeroapi/apis/xero-files-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xeroapi/xero-files-api/versions/64c08f9a8548/schema)
