AuthController_addDomain
POST
/api/identity/organization/domains
const url = 'https://api.streams-ai.com/api/identity/organization/domains';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"domain":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.streams-ai.com/api/identity/organization/domains \ --header 'Content-Type: application/json' \ --data '{ "domain": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
domain
required
string
Examplegenerated
{ "domain": "example"}
