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
Administrator service19 matching interfaces

Update an administrator

updateAdmin

POST/AdminService/updateAdmin
Original definition
rpc updateAdmin (UpdateAdminRequest) returns (RPCSuccess);

Request message

UpdateAdminRequest

Update an administrator

Request message · Field definitions
message UpdateAdminRequest {
	int64 adminId = 1;
	string username = 2;
	string password = 3;
	string fullname = 4;
	bytes modulesJSON = 5;
	bool isSuper = 6;
	bool isOn = 7;
	bool canLogin = 8;
}

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