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
DNS record services18 matching interfaces

Update the enabled status of a group of records across a group of domains

updateNSRecordsIsOnWithDomainNames

POST/NSRecordService/updateNSRecordsIsOnWithDomainNames
Original definition
rpc updateNSRecordsIsOnWithDomainNames(UpdateNSRecordsIsOnWithDomainNamesRequest) returns (RPCSuccess);

Request message

UpdateNSRecordsIsOnWithDomainNamesRequest

Update the enabled status of a group of records across a group of domains

Request message · Field definitions
message UpdateNSRecordsIsOnWithDomainNamesRequest {
	repeated string nsDomainNames = 1;
	string searchName = 2;
	string searchValue = 3;
	string searchType = 4;
	repeated string searchNSRouteCodes = 5;
	bool isOn = 6;
	int64 userId = 7;
}

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