Julius Kübler in MATLAB Answers
Última actividad el 28 de En. de 2021

Hey there, I want to delete a thingspeak channel using the webwrite function. This is what it looks like: url = ['https://api.thingspeak.com/channels/' channelID '.json'] options = weboptions('RequestMethod','delete', 'MediaType','application/x-www-form-urlencoded'); response = webwrite(url,'api_key',userAPIkey,options) This returns status 401 Unauthorized. But if I only change the RequestMethod to 'put', I don't get any errors. But using 'put' only allows me to change the channel settings. How do I delete the channel using webwrite?

Acerca de ThingSpeak

The community for students, researchers, and engineers looking to use MATLAB, Simulink, and ThingSpeak for Internet of Things applications. You can find the latest ThingSpeak news, tutorials to jump-start your next IoT project, and a forum to engage in a discussion on your latest cloud-based project. You can see answers to problems other users have solved and share how you solved a problem.