Domains

Replace domain verification files

Replace the verification files served from the custom domain.

put/api/domains/{id}/verification-files

Request

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

Path parameters

idstring required

The unique identifier of the domain.

Request body

verificationFilesobject required

Up to 10 text or JSON verification files served as filenames with extensions at the domain root, or at paths under /.well-known/.

Response

The domain verification files were replaced successfully.

object required

Validator function

Changes

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