cURL
curl --request DELETE \ --url https://api.incentives.leap.energy/alpha/applications/attachments/{id} \ --header 'x-api-key: <api-key>'
{ "ok": true, "message": "Attachment deleted successfully" }
Delete an attachment from storage and remove the database record.
API key for authentication. Include your Leap API key in the x-api-key header: x-api-key: leap_live_...
x-api-key
x-api-key: leap_live_...
Attachment ID to delete
Application ID that the attachment belongs to.
Successfully deleted attachment
true
"Attachment deleted successfully"
Was this page helpful?