Delete option
curl --request DELETE \
--url http://localhost:8081/protocols/{id}/options/{optionId}const options = {method: 'DELETE'};
fetch('http://localhost:8081/protocols/{id}/options/{optionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols/{id}/options/{optionId}"
response = requests.delete(url)
print(response.text)Delete option
DELETE
/
protocols
/
{id}
/
options
/
{optionId}
Delete option
curl --request DELETE \
--url http://localhost:8081/protocols/{id}/options/{optionId}const options = {method: 'DELETE'};
fetch('http://localhost:8081/protocols/{id}/options/{optionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:8081/protocols/{id}/options/{optionId}"
response = requests.delete(url)
print(response.text)