Update a attachment

​

Partial update: only the fields sent change.

Path Parameters

  • Attachment id.

Body·

required
application/json

Any subset of writable fields. At least one is required. Unknown or read-only fields are rejected.

  • e.g. application/pdf, image/jpeg.

  • The table of the record it is attached to, e.g. equipment or gigs.

  • The id of the record it is attached to.

  • Where the file lives.

Responses

  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for patch/attachments/{id}
curl https://api.weddingoperatingsystems.com/api/v1/attachments/123e4567-e89b-12d3-a456-426614174000 \
  --request PATCH \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "label": null,
  "entity": null,
  "record_id": null,
  "url": null,
  "content_type": null,
  "size_bytes": null,
  "notes": null
}'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "label": null,
    "entity": null,
    "record_id": null,
    "url": null,
    "content_type": null,
    "size_bytes": null,
    "notes": null,
    "created_time": "2026-10-05T21:22:26.970Z",
    "last_edited_time": "2026-10-05T21:22:26.970Z"
  }
}