Delete API from Web with listview

I have made a app where I can send a message to a web api. Its working fine. When I send the message, I get it also in a listview. I am now trying to delete the message trough my app from the API website. Is that possible?

When I click on the message from listview in my app it’s disappear from the phone, but not from the api. How can I make this work? This is my blocks for that. What am I doing wrong? I need it to delete from the website also.
App

what API are you talking about?
any link to its documentation?

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.