Revoke a package recipient (browser session)
import requests
url = "https://platform.ankra.app/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/service-packages/{version_id}/shares/{organisation_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-packages/{version_id}/shares/{organisation_id} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Services
Revoke a package recipient (browser session)
Requires live profiles.read, profiles.write (publication), or profiles.share (recipient management) permission, intersected with token scopes. Catalogue publication does not grant deployment permission, approve hosted operation, or assert runtime readiness. Shared metadata can remain visible after underlying profile access is revoked; contract reads then return 404. Profile fingerprints are rechecked on contract reads.
DELETE
/
org
/
service-packages
/
{version_id}
/
shares
/
{organisation_id}
Revoke a package recipient (browser session)
import requests
url = "https://platform.ankra.app/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/service-packages/{version_id}/shares/{organisation_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-packages/{version_id}/shares/{organisation_id} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}