Ascio Web Service v3

C# DeleteNameServer

Deleting a name server object based on a specific name server handle. The nameserver must not be linked to a domain.

DeleteNameServerResponse DeleteNameServer(SecurityHeaderDetails securityHeader,DeleteNameServerRequest request)

Response codes

ResultCodeMessageValue
200OK
401Authorization failed
404Object not found
405Access denied
406Unexpected objectClass
501Syntax error in parameters or arguments

DeleteNameServer Request

Property
request

C# example

AscioServices services = new ServiceReference1.AscioServiceClient();
SecurityHeaderDetails securityHeader = new SecurityHeaderDetails();
securityHeader.Account = "username";
securityHeader.Password = "password";

DeleteHandleRequest request =  new DeleteHandleRequest();
request.Handle = "JD123";;
DeleteNameServerResponse response = services.DeleteNameServer(securityHeader, request);

if (response.ResultCode == 200) {
	Console.WriteLine("OK");
} else {
	Console.WriteLine("Error: "+response.ResultMessage+" ("+response.resultMessage+")";
}
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.