public void UpdateDefaults()
        {
            SpaceHelper spaceHelper = new SpaceHelper();

            spaceHelper.SetConfig();

            SpaceAccountLoginOptions acc = new SpaceAccountLoginOptions();

            acc.Email    = "*****@*****.**";
            acc.Password = "******";
            SpaceAccountService accs = new SpaceAccountService();
            SpaceLogIn          l    = accs.LogIn(acc);

            List <SpaceOrganization> so = accs.ListOrganizations(l.UserId);

            SpaceDefaultService       spaceDefaultService = new SpaceDefaultService();
            SpaceDefaultCreateOptions createOptions       = new SpaceDefaultCreateOptions
            {
                Name  = "Test default",
                Value = "neki neki"
            };

            var defs  = spaceDefaultService.List("5c877eb8f8b9ff13ae3953cd");
            var defCh = defs[defs.Count - 1];

            SpaceDefaultUpdateOptions spaceDefaultUpdate = new SpaceDefaultUpdateOptions
            {
                Value = "new value"
            };

            var def = spaceDefaultService.Update("5c877eb8f8b9ff13ae3953cd", defCh.Id, spaceDefaultUpdate);

            Assert.IsNotNull(def);


            //spaceOrganizationService.UploadImage(so[0].Id, "logo", )
        }
 public virtual SpaceDefault Update(string organizationId, string defaultId, SpaceDefaultUpdateOptions updateOptions)
 {
     return(Mapper <SpaceDefault> .MapFromJson(
                Requestor.Put(updateOptions, $"{Urls.Organizations}/{organizationId}/defaults/{defaultId}")
                ));
 }