AnsweredAssumed Answered

Deleting a service definition

Question asked by cynthiak on Sep 16, 2016
Latest reply on Sep 27, 2016 by KGerrow-esristaff

I am writing a python script that will update a service definition in ArcGIS Online - to synchronize changes made by Desktop users.  One question/answer that I found suggested 'deleting a service before publishing a replacement service, rather than overwriting'.  I can't seem to find the right syntax to delete the old service definition.  I'm assuming it uses ArcRest, but I can't seem to figure out how to code this.  Any help would be appreciated.  I am new to using ArcRest.