curl --request POST \
--url https://api.management.junction.com/v1/org/{org_id}/team/{team_id}/scope_requirements \
--header 'Content-Type: application/json' \
--header 'X-Vital-Org-Key: <api-key>' \
--data '{
"oura": {
"user_must_grant": ["daily"],
"user_may_grant": ["workout"]
}
}'
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Team Scope Requirements
Set Team Scope Requirements
Post org team scope requirements via the Junction API. Requires authentication with your team API key.
POST
/
v1
/
org
/
{org_id}
/
team
/
{team_id}
/
scope_requirements
curl --request POST \
--url https://api.management.junction.com/v1/org/{org_id}/team/{team_id}/scope_requirements \
--header 'Content-Type: application/json' \
--header 'X-Vital-Org-Key: <api-key>' \
--data '{
"oura": {
"user_must_grant": ["daily"],
"user_may_grant": ["workout"]
}
}'
{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Junction Management API is available for the Scale plan.
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.curl --request POST \
--url https://api.management.junction.com/v1/org/{org_id}/team/{team_id}/scope_requirements \
--header 'Content-Type: application/json' \
--header 'X-Vital-Org-Key: <api-key>' \
--data '{
"oura": {
"user_must_grant": ["daily"],
"user_may_grant": ["workout"]
}
}'
Body
application/json
Response
Successful Response
Was this page helpful?