Create domain
POST
/api/domains
Create a new domain with the given data. The maximum domain number is 1, once created, can not be modified, you'll have to delete and recreate one.
POST /api/domains
curl \
-X POST https://[tenant_id].logto.app/api/domains \
-H "Content-Type: application/json" \
-d '{"domain":"string"}'
Request example
{
"domain": "string"
}