Skip to main content
PATCH
/
v1
/
org
/
{org_id}
/
lab_account
/
{env}
/
{region}
/
{account_id}
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",
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "active",
    "delegated_flow": "order_delegated",
    "provider_account_id": "<string>",
    "account_name": "<string>",
    "business_units": [
      "<string>"
    ],
    "allowed_billing": {},
    "team_id_allowlist": [
      "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    ]
  }
}
The base URL of this endpoint is https://api.management.junction.com/.The endpoint accepts only Management Key (X-Management-Key). Team API Key is not accepted.

This feature is in closed beta.Interested in this feature? Get in touch with your Customer Success Manager.
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>" }'

Authorizations

X-Management-Key
string
header
required

Path Parameters

org_id
string<uuid>
required
env
enum<string>
required
Available options:
production,
sandbox
region
enum<string>
required
Available options:
us,
eu
account_id
string<uuid>
required

Body

application/json
team_id_allowlist
string<uuid>[]
required

Response

Successful Response

lab_account
object | null