code: public static base_response delete(nitro_service client, String keyname) throws Exception {
  		dnskey deleteresource = new dnskey();
  		deleteresource.keyname = keyname;
  		return deleteresource.delete_resource(client);
  	}
docs: Use this API to delete dnskey of given name.