func (s *organizationService) DeleteOrganizationByName(ctx context.Context, name string) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.DeleteOrganizationByName(
		ctx,
		&v1alpha1.DeleteOrganizationByNameRequest{
			Name: name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
// DeleteOrganizationByName deletes a organization by name.
DeleteOrganizationByName deletes a organization by name.
// DeleteOrganizationByName deletes a organization by name .
func (s *organizationService) DeleteOrganizationByName(ctx context.Context, name string) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.DeleteOrganizationByName(
		ctx,
		&v1alpha1.DeleteOrganizationByNameRequest{
			Name: name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
func ( s * organizationService ) DeleteOrganizationByName ( ctx context . Context , name string ) ( _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } _ , err := s . client . DeleteOrganizationByName ( ctx , & v1alpha1 . DeleteOrganizationByNameRequest { Name : name , } , ) if err != nil { return err } return nil }
DeleteOrganizationByName deletes a organization by name.
DeleteOrganizationByName deletes a organization by name .