def upload_delete(self, token, **kwargs):
        "https://developer.zendesk.com/rest_api/docs/core/attachments#delete-upload"
        api_path = "/api/v2/uploads/{token}.json"
        api_path = api_path.format(token=token)
        return self.call(api_path, method="DELETE", **kwargs)
def upload_delete ( self , token , ** kwargs ) : api_path = "/api/v2/uploads/{token}.json" api_path = api_path . format ( token = token ) return self . call ( api_path , method = "DELETE" , ** kwargs )
https://developer.zendesk.com/rest_api/docs/core/attachments#delete-upload