Get Org Access
GET
https://x.kupe.in
/
v1
/
orgs
/
{org_id}
/
access
Get Org Access
import requests
url = "https://x.kupe.in/v1/orgs/{org_id}/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://x.kupe.in/v1/orgs/{org_id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://x.kupe.in/v1/orgs/{org_id}/access \
--header 'Authorization: Bearer <token>'{
"org_id": "<string>",
"restricted": true,
"flags": {},
"members": [
{
"user_id": "<string>",
"email": "<string>",
"role": "<string>",
"restricted": true,
"flags": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Project API key (sk-kupe-...) or a Supabase user JWT.
Path Parameters
⌘I
Get Org Access
import requests
url = "https://x.kupe.in/v1/orgs/{org_id}/access"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://x.kupe.in/v1/orgs/{org_id}/access', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://x.kupe.in/v1/orgs/{org_id}/access \
--header 'Authorization: Bearer <token>'{
"org_id": "<string>",
"restricted": true,
"flags": {},
"members": [
{
"user_id": "<string>",
"email": "<string>",
"role": "<string>",
"restricted": true,
"flags": {}
}
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}
