Allows you to update Attachment on Account by Filename

POST {{baseUrl}}/Accounts/:AccountID/Attachments/:FileName

Request Body

["<", "b", "y", "t", "e", ">"]

HEADERS

KeyDatatypeRequiredDescription
xero-tenant-idstring(Required) Xero identifier for Tenant
Content-Typestring

RESPONSES

status: OK

{&quot;Id&quot;:&quot;c8d6413a-1da2-4faa-9848-21f60443e906&quot;,&quot;Status&quot;:&quot;OK&quot;,&quot;ProviderName&quot;:&quot;Xero API Partner&quot;,&quot;DateTimeUTC&quot;:&quot;/Date(1550859714477)/&quot;,&quot;Attachments&quot;:[{&quot;AttachmentID&quot;:&quot;3fa85f64-5717-4562-b3fc-2c963f66afa6&quot;,&quot;FileName&quot;:&quot;sample5.jpg&quot;,&quot;Url&quot;:&quot;https://api.xero.com/api.xro/2.0/Accounts/da962997-a8bd-4dff-9616-01cdc199283f/Attachments/sample5.jpg&quot;,&quot;MimeType&quot;:&quot;image/jpg&quot;,&quot;ContentLength&quot;:2878711}]}