diff options
Diffstat (limited to 'ogcp/og_server.py')
-rw-r--r-- | ogcp/og_server.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ogcp/og_server.py b/ogcp/og_server.py index 1b7fa32..4a1b6ff 100644 --- a/ogcp/og_server.py +++ b/ogcp/og_server.py @@ -37,6 +37,12 @@ class OGServer: json=payload) return r + def delete(self, path, payload): + r = requests.delete(f'{self.URL}{path}', + headers=self.HEADERS, + json=payload) + return r + @property def id(self): ip = self.ip.replace('.', '-') |