Remove a service consumer binding (browser session)
import requests
url = "https://platform.ankra.app/org/service-admission/consumers/{consumer_id}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/service-admission/consumers/{consumer_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/service-admission/consumers/{consumer_id} \
--cookie ankra_session=Services
Remove a service consumer binding (browser session)
Requires the applications rollout flag and live membership intersected with token scopes. Removing a binding requires applications.deploy, clusters.operate and clusters.read, and the binding’s current revision as expected_revision. A binding a service that has not been released was planned with is kept (409); retire the service first. A pending review naming the binding no longer confirms. A binding whose cluster or application has since been removed can still be removed. No deployment changes. Browser mutations require CSRF.
DELETE
/
org
/
service-admission
/
consumers
/
{consumer_id}
Remove a service consumer binding (browser session)
import requests
url = "https://platform.ankra.app/org/service-admission/consumers/{consumer_id}"
headers = {"cookie": "ankra_session="}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/service-admission/consumers/{consumer_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/service-admission/consumers/{consumer_id} \
--cookie ankra_session=