curl --request PATCH \
--url https://api.management.junction.com/v1/org/{org_id}/lab_account/{env}/{region}/{account_id} \
--header 'X-Vital-Org-Key: <api-key>'
--data '{ "team_id_allowlist": "<team-id>" }'
{
"lab_account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lab": "ayumetrix",
"status": "active",
"delegated_flow": "order_delegated",
"provider_account_id": "<string>",
"allowed_billing": {},
"team_id_allowlist": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_name": "<string>",
"default_clinical_notes": "<string>",
"business_units": [
"<string>"
]
}
}curl --request PATCH \
--url https://api.management.junction.com/v1/org/{org_id}/lab_account/{env}/{region}/{account_id} \
--header 'X-Vital-Org-Key: <api-key>'
--data '{ "team_id_allowlist": "<team-id>" }'
{
"lab_account": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"lab": "ayumetrix",
"status": "active",
"delegated_flow": "order_delegated",
"provider_account_id": "<string>",
"allowed_billing": {},
"team_id_allowlist": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"account_name": "<string>",
"default_clinical_notes": "<string>",
"business_units": [
"<string>"
]
}
}https://api.management.junction.com/.The endpoint accepts only Management Key (X-Management-Key).
Team API Key is not accepted.curl --request PATCH \
--url https://api.management.junction.com/v1/org/{org_id}/lab_account/{env}/{region}/{account_id} \
--header 'X-Vital-Org-Key: <api-key>'
--data '{ "team_id_allowlist": "<team-id>" }'
production, sandbox us, eu Successful Response
Show child attributes
Was this page helpful?
Suggestions