Application

修改账号子域

修改账号子域

PUT /application/v1/subdomain

Change the account subdomain. Every Worker moves to the new address at once; old addresses stop resolving.

支持状态: supported

请求体 (application/json)

必填: true

名称类型说明
subdomainstringAccount subdomain, 8–32 lowercase letters and digits; part of every Worker URL.
{
  "type": "object",
  "required": [
    "subdomain"
  ],
  "properties": {
    "subdomain": {
      "type": "string",
      "description": "Account subdomain, 8–32 lowercase letters and digits; part of every Worker URL.",
      "pattern": "^[a-z0-9]{8,32}$",
      "example": "acme1234"
    }
  }
}

响应

HTTP 200

Success

application/json

名称类型说明
subdomainstringAccount subdomain, 8–32 lowercase letters and digits; part of every Worker URL.
导出

本页内容