Files

Deletes an existing file association

Changed on

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

delete/Files/{FileId}/Associations/{ObjectId}

Request

  • Base URL
    https://api.xero.com/files.xro/1.0
  • URL
    https://api.xero.com/files.xro/1.0/Files/{FileId}/Associations/{ObjectId}
  • Auth
    OAuth 2
    Authorization code: https://login.xero.com/identity/connect/authorize
    Token URL: https://identity.xero.com/connect/token scopes: files

Path parameters

FileIdstring uuid required
Example:4ff1e5cc-9835-40d5-bb18-09fdb118db9c

File id for single object

ObjectIdstring uuid required
Example:4ff1e5cc-9835-40d5-bb18-09fdb118db9c

Object id for single object

Response

Successful deletion - return response 204 no content

Changes