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