Domains

Create domain

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

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/domains
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

domainstring required

The domain name, e.g. example.com.

Response

The domain was created successfully.

idstring required
domainstring required
status'PendingVerification' | 'PendingSsl' | 'Active' | 'Error' required
errorMessagestring nullable required
createdAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.