Delete an application plain value (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key} \
--cookie ankra_session={
"deleted": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Applications
Delete an application plain value (browser session)
Without environment_id, remove the shared default. With it, turn the key off in that environment: the shared default no longer reaches it until the environment’s value is set again or inherit restores the default. Turning a key off needs a plain value of it in reach there. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication plus the X-Ankra-CSRF double-submit header).
DELETE
/
org
/
applications
/
{application_id}
/
env-values
/
{key}
Delete an application plain value (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://api.platform.ankra.app/org/applications/{application_id}/env-values/{key} \
--cookie ankra_session={
"deleted": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}