blob: 963858634fe0dbd090673545568f31f9d4423dd6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import requests
import sys
from testscripts.const import MSB_BASE_URL
id = sys.argv[1]
requests.packages.urllib3.disable_warnings()
resp = requests.delete(MSB_BASE_URL + '/api/nsd/v1/ns_descriptors/' + id, verify=False)
print(resp.status_code)
|