API Referenceadmin
Add domain
Add a domain to the organization.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X post "http://localhost:8000/api/v1/admin/domains" \ -H "Content-Type: application/json" \ -d '{ "domain": "string" }'{
"domain": "string",
"is_primary": false,
"is_verified": false,
"validation_type": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
