List SSO connection domains
/sso-connection/{id}/domains
Path Parameters
The ID of the SSO connection whose domains you want to list.
1ba1f401-7183-47c5-9e39-e8e257e3c795Response Body
The date and time when the domain was added.
2021-08-10T10:00:00.000ZThe email domain associated with the SSO connection.
example.comThe ID of the SSO connection this domain belongs to.
1ba1f401-7183-47c5-9e39-e8e257e3c795The ID of the team that owns this domain.
05daecaf-4365-42e8-8370-8127de5dd717The date and time when the domain was last updated.
2021-08-10T10:30:00.000ZThe DNS TXT challenge token. Publish a TXT record truto-domain-verification=<verification_token> on the domain, then call the verify endpoint.
3b1f9c2a-7e44-4d0b-9a1e-2c5f8d6b0a11Whether this domain has been verified via the DNS TXT challenge.
falsecurl -X GET 'https://api.truto.one/sso-connection/{id}/domains' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/sso-connection/{id}/domains', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/sso-connection/{id}/domains"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())