Delete an environment variable
curl --request DELETE \
--url https://api.arg.ai/api/sites/{id}/env/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/sites/{id}/env/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/sites/{id}/env/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}Sites
Delete an environment variable
DELETE
/
api
/
sites
/
{id}
/
env
/
{name}
Delete an environment variable
curl --request DELETE \
--url https://api.arg.ai/api/sites/{id}/env/{name} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.arg.ai/api/sites/{id}/env/{name}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.arg.ai/api/sites/{id}/env/{name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": "<string>"
}