Revoke a package recipient
import requests
url = "https://platform.ankra.app/api/v1/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/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/api/v1/org/service-packages/{version_id}/shares/{organisation_id} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Services
Revoke a package recipient
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
/
api
/
v1
/
org
/
service-packages
/
{version_id}
/
shares
/
{organisation_id}
Revoke a package recipient
import requests
url = "https://platform.ankra.app/api/v1/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/api/v1/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/api/v1/org/service-packages/{version_id}/shares/{organisation_id} \
--header 'Authorization: Bearer <token>'{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}