自定义域名

更新域名验证文件

更新域名验证文件配置,用于 SSL 证书验证。更新后会在 K8s 中创建或更新对应的 Ingress

post/proApi/support/customDomain/updateVerifyFile

Request

  • Base URL: https://app.wenwen-ai.com/api
  • URL: https://app.wenwen-ai.com/api/proApi/support/customDomain/updateVerifyFile
  • Auth: none declared

Request body

domainstring required

域名

pathstring required

验证文件路径

contentstring required

验证文件内容

Example request

{
  "domain": "chat.example.com",
  "path": "/.well-known/pki-validation/fileauth.txt",
  "content": "202312121234567890abcdef"
}

Response

成功更新域名验证文件

successboolean required

更新是否成功

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.