Share a package version with an organisation
import requests
url = "https://platform.ankra.app/api/v1/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', 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 PUT \
--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
Share a package version with an organisation
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
/
api
/
v1
/
org
/
service-packages
/
{version_id}
/
shares
/
{organisation_id}
Share a package version with an organisation
import requests
url = "https://platform.ankra.app/api/v1/org/service-packages/{version_id}/shares/{organisation_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.put(url, headers=headers)
print(response.text)const options = {method: 'PUT', 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 PUT \
--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>"
}