Skip to content

Commit 6bbac8f

Browse files
committed
remove Ip address using Delete operation
1 parent 633c0c1 commit 6bbac8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RESTCONF/delete-Ip-address.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def main():
5151
# RESTCONF media types for REST API headers
5252
headers = {'Content-Type': 'application/yang-data+json',
5353
'Accept': 'application/yang-data+json'}
54-
# this statement performs a GET on the specified url
54+
# this statement performs a DELETE on the specified url
5555
response = requests.request("DELETE",url, auth=(USER, PASS),
5656
headers=headers, verify=False)
5757
# print the json that is returned

0 commit comments

Comments
 (0)