I cannot find this information anywhere on ArcGIS official documentation, but if a feature that contains attachments is deleted, will the attachments be deleted as well? Or will they be left orphaned?
Or simply put, when I call REST API to delete a feature and I don't want orphaned attachments occupying server space, do I need to delete the attachments first before deleting the feature itself?