GET Api/Service/Setting/UpdateSiteStatus/{SiteId}/{Enable}

启用或停用站点

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteId

站点ID

string

Required

Enable

启用/停用

boolean

Required

Body Parameters

None.

Response Information

Resource Description

启用或停用站点

SpeedPower.Utility.Models.Helper.ResultMessage
NameDescriptionTypeAdditional information
Succeed

操作是否成功

boolean

None.

Message

操作消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeed": true,
  "Message": "sample string 2"
}