WAFGOPreparing your page
Setup guide

API documentation

DEVELOPER RESOURCES · API REFERENCE

Explore WAFGO API services, request paths and message definitions. Browse by permission role to find the parameters and response structures for your integration.

Download JSON documentation
151 services1063 interfaces
Website services60 matching interfaces

Update basic website information

updateServerBasic

POST/ServerService/updateServerBasic
Original definition
rpc updateServerBasic (UpdateServerBasicRequest) returns (RPCSuccess);

Request message

UpdateServerBasicRequest

Update basic website information

Request message · Field definitions
message UpdateServerBasicRequest {
	int64 serverId = 1; // Website ID
	string name = 2; // Website name
	string description = 3; // Optional: website description
	int64 nodeClusterId = 4; // Cluster ID
	bool keepOldConfigs = 7; // Optional: whether to retain the configuration on the old node for a period of time
	bool isOn = 5; // Whether enabled
	repeated int64 serverGroupIds = 6; // Optional: website group IDs
}

Response message

RPCSuccess

Operation successful

Response message · Field definitions
message RPCSuccess {

}

Descriptions and comments follow your language. Request paths, method names, field names and types match the original API definitions.

Setup guide