Transaction images

Bulk Delete Transaction Images

POST
/v1/households/{household_id}/transactions/{transaction_id}/images/bulk-delete

Permanently deletes matching image attachments from a transaction while keeping the transaction itself.

IDs not attached to this transaction are skipped; returns image_not_found if none match. Requires a member or owner role.

Authorization

PersonalApiToken
AuthorizationBearer <token>

Personal API token (penny_pat_…). Paste only the token; the Bearer prefix is added automatically. Read-only tokens only allow read requests, and read/write tokens follow your current household membership and role. See https://penny.finance/docs/api#authentication.

In: header

Path Parameters

household_id*string

ID of the household that owns the resource. GET /v1/households lists the households you can access.

transaction_id*string

ID of the transaction.

Request Body

application/json

image_ids*array<string>

IDs of the images to delete permanently. IDs that are not attached to this transaction are skipped.

Items1 <= items <= 1000

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.penny.finance/v1/households/Hh4vK8pQ2sLm/transactions/Tx3fJ9mS6vBa/images/bulk-delete" \  -H "Authorization: Bearer $PENNY_API_TOKEN" \  -H "Content-Type: application/json" \  --data-raw '{  "image_ids": [    "Im4nD8qR2sVk"  ]}'
Empty