Auto-approve organization access via domain or self-hosted check
curl --request POST \
--url https://api.trycomp.ai/v1/organization-access/auto-approveconst options = {method: 'POST'};
fetch('https://api.trycomp.ai/v1/organization-access/auto-approve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/organization-access/auto-approve"
response = requests.post(url)
print(response.text)Organization
Auto-approve organization access via domain | Comp AI API
Grants hasAccess on the active organization if the requesting user is an internal trycomp.ai user, the deployment is self-hosted, or the user email domain.
POST
/
v1
/
organization-access
/
auto-approve
Auto-approve organization access via domain or self-hosted check
curl --request POST \
--url https://api.trycomp.ai/v1/organization-access/auto-approveconst options = {method: 'POST'};
fetch('https://api.trycomp.ai/v1/organization-access/auto-approve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/organization-access/auto-approve"
response = requests.post(url)
print(response.text)Response
200 - undefined
Was this page helpful?

