EnableDomain【启用域名】

启用域名:可根据域名ID来启用域名使用。

Request Parameters

Parameter name Type Description Required
action String API 标识符 Yes
domainId Array 域名ID Yes

Response Elements

Name Type Description
message String 执行结果信息
code Integer HTTP Resonpe响应状态码

Example

Example Request:

Request Headers:

POST /api/ HTTP/1.1
Origin: https://console.plcloud.com
X-CSRFToken: 6An6xEuOJqW6dVDtlgzZr6FqgkSbJmqp
Content-Type: application/json

JSON Data:

{
  "action": "EnableDomain",
  "domainId": [
      "211540"
  ]
}

Example Response:

{
  "message": "Enable domain Successfully",
  "code": 200
}