Update attachment
Acceso
Cualquier miembro de la organización.
Renames an attachment that is not linked to a sent inbox message or event log. A task's attachment needs tasks:write and a visible task; any other one its uploader or a super admin.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*string1 <= lengthapplication/json- body
name*string1 <= lengthOK
application/json- response
curl -X PATCH 'https://api.tillor.eu/orgs//attachments/string' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'nullGet attachment GET
Retrieves an attachment by its ID. Needs read access to what it belongs to, as for the list.
Upload attachment POST
Uploads a file as an orphan attachment. Pass purpose so inbox uploads require `inbox:write`, task uploads `tasks:write` and a visible task, meter reading pictures `meters:write`. Types a browser could render as markup or script are stored as `application/octet-stream`. With purpose `customField` (plus customFieldEntity and customFieldPath) the file is for a FILE custom field: the field's write access, type and size limits apply; save the returned id as the field's value, an upload no record holds is deleted after a day. Blobs are always encrypted at rest (AES-256-GCM).