There was an error while loading. Please reload this page.
1 parent 633c0c1 commit 6bbac8fCopy full SHA for 6bbac8f
RESTCONF/delete-Ip-address.py
@@ -51,7 +51,7 @@ def main():
51
# RESTCONF media types for REST API headers
52
headers = {'Content-Type': 'application/yang-data+json',
53
'Accept': 'application/yang-data+json'}
54
- # this statement performs a GET on the specified url
+ # this statement performs a DELETE on the specified url
55
response = requests.request("DELETE",url, auth=(USER, PASS),
56
headers=headers, verify=False)
57
# print the json that is returned
0 commit comments