Skip to main content
18-Opal
January 23, 2018
Solved

how to delete property via service?

  • January 23, 2018
  • 4 replies
  • 4355 views

hi, i'm search how to delete property via service

that service didn't find snippet or generic service

how can i delete property using service?

thanks

Best answer by Velkumar

Hi,

You can use "RemovePropertyDefinition" Service to delete property from thing

4 replies

Velkumar19-TanzaniteAnswer
19-Tanzanite
January 23, 2018

Hi,

You can use "RemovePropertyDefinition" Service to delete property from thing

1-Visitor
January 23, 2018

Oh this make more sense than my answer ^^

1-Visitor
January 23, 2018

I'm not sure if this is possible. But maybe you can create a work around (untested). You can create a new thing with the EntityServices and add the property that you still want to have with AddPropertyDefinition of the new thing. And than you can copy the values of the old thing to the new thing and delete the old one.