public async Task UpdateGroup(int id, string name)
        {
            var body = Json.ToString(new UpdateGroupRequest
            {
                Name = name
            });

            await http.Put($"api/v4/groups/{id}.json", body);
        }
 public async Task UpdatePassword(int id, UpdatePasswordRequest details)
 {
     var body = Json.ToString(details);
     await http.Put($"api/v4/passwords/{id}.json", body);
 }
Esempio n. 3
0
 public async Task UpdateUser(int id, UpdateUserRequest request)
 {
     var body = Json.ToString(request);
     await http.Put($"api/v4/users/{id}.json", body);
 }
 public async Task UpdateProject(int id, UpdateProjectRequest request)
 {
     var body = Json.ToString(request);
     await http.Put($"api/v4/projects/{id}.json", body);
 }
Esempio n. 5
0
 public async Task UpdatePassword(int id, UpdateMyPasswordRequest request)
 {
     var body = Json.ToString(request);
     await http.Put($"api/v4/my_passwords/{id}.json", body);
 }