Delete image
Deletes the stored file and forgets the image. Emails that were already sent stop showing it, because they link that file. A copied image that a template or a broadcast still uses is copied again the next time that one is saved. An uploaded image has no address to copy it from: it comes back, at the same address, when the same file is uploaded again.
opensend.images.remove(id)opensend images removeInput
id goes first, on its own, and the rest in one object. One object that holds id works too.
idstringRequiredThe id of the item. Up to 64 characters.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
objectstringWhat kind of thing was removed.
One of
listemailbroadcastaudiencetemplatetemplate_versiontemplate_starterautomationmetricsdomainapi_keywebhooklogworkspacemembermethodaccountinbound_emailwebhook_deliverycontactplancheckoutinvoiceask_answersuppressionchatautomation_runeventevent_receiptimportimport_inventorytopiccontact_propertyimageserveridstringThe id of what was removed.
deletedtrueAlways
true: it is gone for good.