aboutsummaryrefslogtreecommitdiffstats
path: root/resources/testscripts/F-version/ns/ns_delete.py
blob: aa3eb2b523c96d951bf715156a48a48b58aef264 (plain)
1
2
3
4
5
6
7
8
import requests
import sys

id = sys.argv[1]

requests.packages.urllib3.disable_warnings()
resp = requests.delete('https://192.168.235.89:30283/api/nsd/v1/ns_descriptors/' + id, verify=False)
print(resp.status_code)