Share a package version with an organisation (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.put(url, headers=headers)
print(response.text)const options = {
method: 'PUT',
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 PUT \
--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
Share a package version with an organisation (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.
PUT
/
org
/
service-packages
/
{version_id}
/
shares
/
{organisation_id}
Share a package version with an organisation (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.put(url, headers=headers)
print(response.text)const options = {
method: 'PUT',
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 PUT \
--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>"
}