Skip to content
These docs describe Tradr v0.17.0. Running an older release? Check the release notes for what changed.

Delete a position screenshot.

DELETE
/api/positions/{id}/images/{imageId}
curl --request DELETE \
--url https://api.tradr.cloud/api/positions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/images/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Authed. Removes one screenshot from a position the user owns. When the screenshot was stored as an object, its bucket object is deleted best-effort after the row is removed; a failed object delete is logged and the request still returns 204.

id
required
string format: uuid
imageId
required
string format: uuid

Screenshot deleted.

Screenshot not found (or not owned by the user).