Read the org's allowed provisioning domains (superuser only)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/ \
--header 'Authorization: Bearer <token>'{
"allowed_provisioning_domains": [
"loreal.com"
]
}User Provisioning
Read the org's allowed provisioning domains (superuser only)
GET
/
organizations
/
{id}
/
provisioning-config
/
Read the org's allowed provisioning domains (superuser only)
import requests
url = "https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/organizations/{id}/provisioning-config/ \
--header 'Authorization: Bearer <token>'{
"allowed_provisioning_domains": [
"loreal.com"
]
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Path Parameters
UUID of the organization
Response
Current configuration.
Email domains that provisioning may pre-create accounts for.