AnsweredAssumed Answered

WebAPI returns Forbidden when trying to delete element

Question asked by DispDisplay1234 on Jun 13, 2019
Latest reply on Jun 14, 2019 by DispDisplay1234



I'm trying to remove some AF Elements by using the PI WebAPI, but i keep getting a 403 Forbidden response.

I'm requesting a DELETE request to my pi webapi https://mypi-server:443/piwebapi/elements/{the-element-web-id}

If i use the same url but request it as a GET request i get the element information as expected.


So my thought is that somewhere in my pi servers setup, the DELETE request is not enabled.

Can anyone help?


Edit 2019-06-14 10:00 (UTC+1):

The key issue is that i want some AF Elements deleted. The elements i want deleted is not visible in the PI System Explorer. So Is there a workaround for deleting these elements? 


Best Regards