Update existing attachment.
Update the meta data for an existing attachment. This endpoint does not allow you to upload or download data. For that, see below.
Body
JSON array with updated attachment information. See the model for the exact specifications.
filenamestringfile.pdftitlestringSome PDF filenotesstring | nullSome notesParameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
idstringrequiredpathThe ID of the attachment.
Response
Updated attachment stored, result in response
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
