github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/GroupApi.md (about) 1 # \GroupApi 2 3 All URIs are relative to *http://localhost* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreateGroup**](GroupApi.md#CreateGroup) | **Post** /v2/groups | 8 [**DeleteGroup**](GroupApi.md#DeleteGroup) | **Delete** /v2/groups/{group_id} | 9 [**DeleteMember**](GroupApi.md#DeleteMember) | **Delete** /v2/groups/{group_id}/members | 10 [**GetGroup**](GroupApi.md#GetGroup) | **Get** /v2/groups/{group_id} | 11 [**GetGroups**](GroupApi.md#GetGroups) | **Get** /v2/groups | 12 [**GetMembers**](GroupApi.md#GetMembers) | **Get** /v2/groups/{group_id}/members | 13 [**InviteGroup**](GroupApi.md#InviteGroup) | **Post** /v2/groups/{group_id}/invites | 14 [**ReplaceGroup**](GroupApi.md#ReplaceGroup) | **Put** /v2/groups/{group_id} | 15 [**SetMember**](GroupApi.md#SetMember) | **Patch** /v2/groups/{group_id}/members | 16 [**UpdateGroup**](GroupApi.md#UpdateGroup) | **Patch** /v2/groups/{group_id} | 17 [**UpdateMember**](GroupApi.md#UpdateMember) | **Put** /v2/groups/{group_id}/members | 18 19 20 21 ## CreateGroup 22 23 > Group CreateGroup(ctx).GroupCreateRequest(groupCreateRequest).Execute() 24 25 26 27 28 29 ### Example 30 31 ```go 32 package main 33 34 import ( 35 "context" 36 "fmt" 37 "os" 38 openapiclient "./openapi" 39 ) 40 41 func main() { 42 groupCreateRequest := *openapiclient.NewGroupCreateRequest("Name_example", "Type_example") // GroupCreateRequest | 43 44 configuration := openapiclient.NewConfiguration() 45 api_client := openapiclient.NewAPIClient(configuration) 46 resp, r, err := api_client.GroupApi.CreateGroup(context.Background()).GroupCreateRequest(groupCreateRequest).Execute() 47 if err.Error() != "" { 48 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.CreateGroup``: %v\n", err) 49 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 50 } 51 // response from `CreateGroup`: Group 52 fmt.Fprintf(os.Stdout, "Response from `GroupApi.CreateGroup`: %v\n", resp) 53 } 54 ``` 55 56 ### Path Parameters 57 58 59 60 ### Other Parameters 61 62 Other parameters are passed through a pointer to a apiCreateGroupRequest struct via the builder pattern 63 64 65 Name | Type | Description | Notes 66 ------------- | ------------- | ------------- | ------------- 67 **groupCreateRequest** | [**GroupCreateRequest**](GroupCreateRequest.md) | | 68 69 ### Return type 70 71 [**Group**](Group.md) 72 73 ### Authorization 74 75 No authorization required 76 77 ### HTTP request headers 78 79 - **Content-Type**: application/json 80 - **Accept**: application/json 81 82 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 83 [[Back to Model list]](../README.md#documentation-for-models) 84 [[Back to README]](../README.md) 85 86 87 ## DeleteGroup 88 89 > DeleteGroup(ctx, groupId).Execute() 90 91 92 93 94 95 ### Example 96 97 ```go 98 package main 99 100 import ( 101 "context" 102 "fmt" 103 "os" 104 openapiclient "./openapi" 105 ) 106 107 func main() { 108 groupId := TODO // string | 109 110 configuration := openapiclient.NewConfiguration() 111 api_client := openapiclient.NewAPIClient(configuration) 112 resp, r, err := api_client.GroupApi.DeleteGroup(context.Background(), groupId).Execute() 113 if err.Error() != "" { 114 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.DeleteGroup``: %v\n", err) 115 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 116 } 117 } 118 ``` 119 120 ### Path Parameters 121 122 123 Name | Type | Description | Notes 124 ------------- | ------------- | ------------- | ------------- 125 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 126 **groupId** | [**string**](.md) | | 127 128 ### Other Parameters 129 130 Other parameters are passed through a pointer to a apiDeleteGroupRequest struct via the builder pattern 131 132 133 Name | Type | Description | Notes 134 ------------- | ------------- | ------------- | ------------- 135 136 137 ### Return type 138 139 (empty response body) 140 141 ### Authorization 142 143 No authorization required 144 145 ### HTTP request headers 146 147 - **Content-Type**: Not defined 148 - **Accept**: Not defined 149 150 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 151 [[Back to Model list]](../README.md#documentation-for-models) 152 [[Back to README]](../README.md) 153 154 155 ## DeleteMember 156 157 > DeleteMember(ctx, groupId).Member(member).Execute() 158 159 160 161 ### Example 162 163 ```go 164 package main 165 166 import ( 167 "context" 168 "fmt" 169 "os" 170 openapiclient "./openapi" 171 ) 172 173 func main() { 174 groupId := TODO // string | 175 member := []openapiclient.Member{*openapiclient.NewMember()} // []Member | 176 177 configuration := openapiclient.NewConfiguration() 178 api_client := openapiclient.NewAPIClient(configuration) 179 resp, r, err := api_client.GroupApi.DeleteMember(context.Background(), groupId).Member(member).Execute() 180 if err.Error() != "" { 181 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.DeleteMember``: %v\n", err) 182 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 183 } 184 } 185 ``` 186 187 ### Path Parameters 188 189 190 Name | Type | Description | Notes 191 ------------- | ------------- | ------------- | ------------- 192 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 193 **groupId** | [**string**](.md) | | 194 195 ### Other Parameters 196 197 Other parameters are passed through a pointer to a apiDeleteMemberRequest struct via the builder pattern 198 199 200 Name | Type | Description | Notes 201 ------------- | ------------- | ------------- | ------------- 202 203 **member** | [**[]Member**](Member.md) | | 204 205 ### Return type 206 207 (empty response body) 208 209 ### Authorization 210 211 No authorization required 212 213 ### HTTP request headers 214 215 - **Content-Type**: application/json 216 - **Accept**: Not defined 217 218 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 219 [[Back to Model list]](../README.md#documentation-for-models) 220 [[Back to README]](../README.md) 221 222 223 ## GetGroup 224 225 > Group GetGroup(ctx, groupId).Includes(includes).Execute() 226 227 228 229 230 231 ### Example 232 233 ```go 234 package main 235 236 import ( 237 "context" 238 "fmt" 239 "os" 240 openapiclient "./openapi" 241 ) 242 243 func main() { 244 groupId := TODO // string | 245 includes := "includes_example" // string | (optional) 246 247 configuration := openapiclient.NewConfiguration() 248 api_client := openapiclient.NewAPIClient(configuration) 249 resp, r, err := api_client.GroupApi.GetGroup(context.Background(), groupId).Includes(includes).Execute() 250 if err.Error() != "" { 251 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.GetGroup``: %v\n", err) 252 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 253 } 254 // response from `GetGroup`: Group 255 fmt.Fprintf(os.Stdout, "Response from `GroupApi.GetGroup`: %v\n", resp) 256 } 257 ``` 258 259 ### Path Parameters 260 261 262 Name | Type | Description | Notes 263 ------------- | ------------- | ------------- | ------------- 264 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 265 **groupId** | [**string**](.md) | | 266 267 ### Other Parameters 268 269 Other parameters are passed through a pointer to a apiGetGroupRequest struct via the builder pattern 270 271 272 Name | Type | Description | Notes 273 ------------- | ------------- | ------------- | ------------- 274 275 **includes** | **string** | | 276 277 ### Return type 278 279 [**Group**](Group.md) 280 281 ### Authorization 282 283 No authorization required 284 285 ### HTTP request headers 286 287 - **Content-Type**: Not defined 288 - **Accept**: application/json 289 290 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 291 [[Back to Model list]](../README.md#documentation-for-models) 292 [[Back to README]](../README.md) 293 294 295 ## GetGroups 296 297 > MultipleGroup GetGroups(ctx).Name(name).ParentGroupId(parentGroupId).State(state).City(city).Address1(address1).Address2(address2).Type_(type_).Tags(tags).Label(label).Domain(domain).Offset(offset).Limit(limit).OrderBy(orderBy).Order(order).Includes(includes).Page(page).Execute() 298 299 300 301 302 303 ### Example 304 305 ```go 306 package main 307 308 import ( 309 "context" 310 "fmt" 311 "os" 312 openapiclient "./openapi" 313 ) 314 315 func main() { 316 name := "name_example" // string | 名前での部分一致検索 (optional) 317 parentGroupId := TODO // string | (optional) 318 state := "state_example" // string | (optional) 319 city := "city_example" // string | (optional) 320 address1 := "address1_example" // string | (optional) 321 address2 := "address2_example" // string | (optional) 322 type_ := "type__example" // string | (optional) 323 tags := "tags_example" // string | (optional) 324 label := "label_example" // string | (optional) 325 domain := "domain_example" // string | (optional) 326 offset := int64(789) // int64 | ページネーションのうち、何件読み飛ばすか (optional) 327 limit := int64(789) // int64 | ページネーションのうち、上位何件取得するか (optional) 328 orderBy := "orderBy_example" // string | (optional) 329 order := "order_example" // string | ソート順序。 order_byで指定したkeyそれぞれに対して昇順、降順を配列で指定 (optional) 330 includes := "includes_example" // string | (optional) 331 page := "page_example" // string | (optional) 332 333 configuration := openapiclient.NewConfiguration() 334 api_client := openapiclient.NewAPIClient(configuration) 335 resp, r, err := api_client.GroupApi.GetGroups(context.Background()).Name(name).ParentGroupId(parentGroupId).State(state).City(city).Address1(address1).Address2(address2).Type_(type_).Tags(tags).Label(label).Domain(domain).Offset(offset).Limit(limit).OrderBy(orderBy).Order(order).Includes(includes).Page(page).Execute() 336 if err.Error() != "" { 337 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.GetGroups``: %v\n", err) 338 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 339 } 340 // response from `GetGroups`: MultipleGroup 341 fmt.Fprintf(os.Stdout, "Response from `GroupApi.GetGroups`: %v\n", resp) 342 } 343 ``` 344 345 ### Path Parameters 346 347 348 349 ### Other Parameters 350 351 Other parameters are passed through a pointer to a apiGetGroupsRequest struct via the builder pattern 352 353 354 Name | Type | Description | Notes 355 ------------- | ------------- | ------------- | ------------- 356 **name** | **string** | 名前での部分一致検索 | 357 **parentGroupId** | [**string**](string.md) | | 358 **state** | **string** | | 359 **city** | **string** | | 360 **address1** | **string** | | 361 **address2** | **string** | | 362 **type_** | **string** | | 363 **tags** | **string** | | 364 **label** | **string** | | 365 **domain** | **string** | | 366 **offset** | **int64** | ページネーションのうち、何件読み飛ばすか | 367 **limit** | **int64** | ページネーションのうち、上位何件取得するか | 368 **orderBy** | **string** | | 369 **order** | **string** | ソート順序。 order_byで指定したkeyそれぞれに対して昇順、降順を配列で指定 | 370 **includes** | **string** | | 371 **page** | **string** | | 372 373 ### Return type 374 375 [**MultipleGroup**](MultipleGroup.md) 376 377 ### Authorization 378 379 No authorization required 380 381 ### HTTP request headers 382 383 - **Content-Type**: Not defined 384 - **Accept**: application/json 385 386 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 387 [[Back to Model list]](../README.md#documentation-for-models) 388 [[Back to README]](../README.md) 389 390 391 ## GetMembers 392 393 > MultipleMemberInfo GetMembers(ctx, groupId).UserId(userId).Name(name).Email(email).Primary(primary).PhoneticFamilyName(phoneticFamilyName).PhoneticGivenName(phoneticGivenName).Role(role).Category(category).Tag(tag).Includes(includes).Page(page).Offset(offset).Limit(limit).OrderBy(orderBy).Order(order).Execute() 394 395 396 397 ### Example 398 399 ```go 400 package main 401 402 import ( 403 "context" 404 "fmt" 405 "os" 406 openapiclient "./openapi" 407 ) 408 409 func main() { 410 groupId := TODO // string | 411 userId := TODO // string | (optional) 412 name := "name_example" // string | 名前での部分一致検索 (optional) 413 email := "email_example" // string | (optional) 414 primary := true // bool | (optional) 415 phoneticFamilyName := "phoneticFamilyName_example" // string | (optional) 416 phoneticGivenName := "phoneticGivenName_example" // string | (optional) 417 role := "role_example" // string | (optional) 418 category := "category_example" // string | (optional) 419 tag := "tag_example" // string | (optional) 420 includes := "includes_example" // string | (optional) 421 page := "page_example" // string | (optional) 422 offset := int64(789) // int64 | ページネーションのうち、何件読み飛ばすか (optional) 423 limit := int64(789) // int64 | ページネーションのうち、上位何件取得するか (optional) 424 orderBy := "orderBy_example" // string | (optional) 425 order := "order_example" // string | ソート順序。 order_byで指定したkeyそれぞれに対して昇順、降順を配列で指定 (optional) 426 427 configuration := openapiclient.NewConfiguration() 428 api_client := openapiclient.NewAPIClient(configuration) 429 resp, r, err := api_client.GroupApi.GetMembers(context.Background(), groupId).UserId(userId).Name(name).Email(email).Primary(primary).PhoneticFamilyName(phoneticFamilyName).PhoneticGivenName(phoneticGivenName).Role(role).Category(category).Tag(tag).Includes(includes).Page(page).Offset(offset).Limit(limit).OrderBy(orderBy).Order(order).Execute() 430 if err.Error() != "" { 431 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.GetMembers``: %v\n", err) 432 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 433 } 434 // response from `GetMembers`: MultipleMemberInfo 435 fmt.Fprintf(os.Stdout, "Response from `GroupApi.GetMembers`: %v\n", resp) 436 } 437 ``` 438 439 ### Path Parameters 440 441 442 Name | Type | Description | Notes 443 ------------- | ------------- | ------------- | ------------- 444 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 445 **groupId** | [**string**](.md) | | 446 447 ### Other Parameters 448 449 Other parameters are passed through a pointer to a apiGetMembersRequest struct via the builder pattern 450 451 452 Name | Type | Description | Notes 453 ------------- | ------------- | ------------- | ------------- 454 455 **userId** | [**string**](string.md) | | 456 **name** | **string** | 名前での部分一致検索 | 457 **email** | **string** | | 458 **primary** | **bool** | | 459 **phoneticFamilyName** | **string** | | 460 **phoneticGivenName** | **string** | | 461 **role** | **string** | | 462 **category** | **string** | | 463 **tag** | **string** | | 464 **includes** | **string** | | 465 **page** | **string** | | 466 **offset** | **int64** | ページネーションのうち、何件読み飛ばすか | 467 **limit** | **int64** | ページネーションのうち、上位何件取得するか | 468 **orderBy** | **string** | | 469 **order** | **string** | ソート順序。 order_byで指定したkeyそれぞれに対して昇順、降順を配列で指定 | 470 471 ### Return type 472 473 [**MultipleMemberInfo**](MultipleMemberInfo.md) 474 475 ### Authorization 476 477 No authorization required 478 479 ### HTTP request headers 480 481 - **Content-Type**: Not defined 482 - **Accept**: application/json 483 484 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 485 [[Back to Model list]](../README.md#documentation-for-models) 486 [[Back to README]](../README.md) 487 488 489 ## InviteGroup 490 491 > Member InviteGroup(ctx, groupId).GroupInviteRequest(groupInviteRequest).Execute() 492 493 494 495 496 497 ### Example 498 499 ```go 500 package main 501 502 import ( 503 "context" 504 "fmt" 505 "os" 506 openapiclient "./openapi" 507 ) 508 509 func main() { 510 groupId := TODO // string | 511 groupInviteRequest := *openapiclient.NewGroupInviteRequest() // GroupInviteRequest | 512 513 configuration := openapiclient.NewConfiguration() 514 api_client := openapiclient.NewAPIClient(configuration) 515 resp, r, err := api_client.GroupApi.InviteGroup(context.Background(), groupId).GroupInviteRequest(groupInviteRequest).Execute() 516 if err.Error() != "" { 517 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.InviteGroup``: %v\n", err) 518 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 519 } 520 // response from `InviteGroup`: Member 521 fmt.Fprintf(os.Stdout, "Response from `GroupApi.InviteGroup`: %v\n", resp) 522 } 523 ``` 524 525 ### Path Parameters 526 527 528 Name | Type | Description | Notes 529 ------------- | ------------- | ------------- | ------------- 530 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 531 **groupId** | [**string**](.md) | | 532 533 ### Other Parameters 534 535 Other parameters are passed through a pointer to a apiInviteGroupRequest struct via the builder pattern 536 537 538 Name | Type | Description | Notes 539 ------------- | ------------- | ------------- | ------------- 540 541 **groupInviteRequest** | [**GroupInviteRequest**](GroupInviteRequest.md) | | 542 543 ### Return type 544 545 [**Member**](Member.md) 546 547 ### Authorization 548 549 No authorization required 550 551 ### HTTP request headers 552 553 - **Content-Type**: application/json 554 - **Accept**: application/json 555 556 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 557 [[Back to Model list]](../README.md#documentation-for-models) 558 [[Back to README]](../README.md) 559 560 561 ## ReplaceGroup 562 563 > Group ReplaceGroup(ctx, groupId).GroupReplaceRequest(groupReplaceRequest).Execute() 564 565 566 567 568 569 ### Example 570 571 ```go 572 package main 573 574 import ( 575 "context" 576 "fmt" 577 "os" 578 openapiclient "./openapi" 579 ) 580 581 func main() { 582 groupId := TODO // string | 583 groupReplaceRequest := *openapiclient.NewGroupReplaceRequest() // GroupReplaceRequest | 584 585 configuration := openapiclient.NewConfiguration() 586 api_client := openapiclient.NewAPIClient(configuration) 587 resp, r, err := api_client.GroupApi.ReplaceGroup(context.Background(), groupId).GroupReplaceRequest(groupReplaceRequest).Execute() 588 if err.Error() != "" { 589 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.ReplaceGroup``: %v\n", err) 590 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 591 } 592 // response from `ReplaceGroup`: Group 593 fmt.Fprintf(os.Stdout, "Response from `GroupApi.ReplaceGroup`: %v\n", resp) 594 } 595 ``` 596 597 ### Path Parameters 598 599 600 Name | Type | Description | Notes 601 ------------- | ------------- | ------------- | ------------- 602 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 603 **groupId** | [**string**](.md) | | 604 605 ### Other Parameters 606 607 Other parameters are passed through a pointer to a apiReplaceGroupRequest struct via the builder pattern 608 609 610 Name | Type | Description | Notes 611 ------------- | ------------- | ------------- | ------------- 612 613 **groupReplaceRequest** | [**GroupReplaceRequest**](GroupReplaceRequest.md) | | 614 615 ### Return type 616 617 [**Group**](Group.md) 618 619 ### Authorization 620 621 No authorization required 622 623 ### HTTP request headers 624 625 - **Content-Type**: application/json 626 - **Accept**: application/json 627 628 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 629 [[Back to Model list]](../README.md#documentation-for-models) 630 [[Back to README]](../README.md) 631 632 633 ## SetMember 634 635 > Member SetMember(ctx, groupId).Member(member).Execute() 636 637 638 639 640 641 ### Example 642 643 ```go 644 package main 645 646 import ( 647 "context" 648 "fmt" 649 "os" 650 openapiclient "./openapi" 651 ) 652 653 func main() { 654 groupId := TODO // string | 655 member := *openapiclient.NewMember() // Member | 656 657 configuration := openapiclient.NewConfiguration() 658 api_client := openapiclient.NewAPIClient(configuration) 659 resp, r, err := api_client.GroupApi.SetMember(context.Background(), groupId).Member(member).Execute() 660 if err.Error() != "" { 661 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.SetMember``: %v\n", err) 662 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 663 } 664 // response from `SetMember`: Member 665 fmt.Fprintf(os.Stdout, "Response from `GroupApi.SetMember`: %v\n", resp) 666 } 667 ``` 668 669 ### Path Parameters 670 671 672 Name | Type | Description | Notes 673 ------------- | ------------- | ------------- | ------------- 674 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 675 **groupId** | [**string**](.md) | | 676 677 ### Other Parameters 678 679 Other parameters are passed through a pointer to a apiSetMemberRequest struct via the builder pattern 680 681 682 Name | Type | Description | Notes 683 ------------- | ------------- | ------------- | ------------- 684 685 **member** | [**Member**](Member.md) | | 686 687 ### Return type 688 689 [**Member**](Member.md) 690 691 ### Authorization 692 693 No authorization required 694 695 ### HTTP request headers 696 697 - **Content-Type**: application/json 698 - **Accept**: application/json 699 700 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 701 [[Back to Model list]](../README.md#documentation-for-models) 702 [[Back to README]](../README.md) 703 704 705 ## UpdateGroup 706 707 > Group UpdateGroup(ctx, groupId).GroupUpdateRequest(groupUpdateRequest).Execute() 708 709 710 711 712 713 ### Example 714 715 ```go 716 package main 717 718 import ( 719 "context" 720 "fmt" 721 "os" 722 openapiclient "./openapi" 723 ) 724 725 func main() { 726 groupId := TODO // string | 727 groupUpdateRequest := *openapiclient.NewGroupUpdateRequest() // GroupUpdateRequest | 728 729 configuration := openapiclient.NewConfiguration() 730 api_client := openapiclient.NewAPIClient(configuration) 731 resp, r, err := api_client.GroupApi.UpdateGroup(context.Background(), groupId).GroupUpdateRequest(groupUpdateRequest).Execute() 732 if err.Error() != "" { 733 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.UpdateGroup``: %v\n", err) 734 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 735 } 736 // response from `UpdateGroup`: Group 737 fmt.Fprintf(os.Stdout, "Response from `GroupApi.UpdateGroup`: %v\n", resp) 738 } 739 ``` 740 741 ### Path Parameters 742 743 744 Name | Type | Description | Notes 745 ------------- | ------------- | ------------- | ------------- 746 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 747 **groupId** | [**string**](.md) | | 748 749 ### Other Parameters 750 751 Other parameters are passed through a pointer to a apiUpdateGroupRequest struct via the builder pattern 752 753 754 Name | Type | Description | Notes 755 ------------- | ------------- | ------------- | ------------- 756 757 **groupUpdateRequest** | [**GroupUpdateRequest**](GroupUpdateRequest.md) | | 758 759 ### Return type 760 761 [**Group**](Group.md) 762 763 ### Authorization 764 765 No authorization required 766 767 ### HTTP request headers 768 769 - **Content-Type**: application/json 770 - **Accept**: application/json 771 772 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 773 [[Back to Model list]](../README.md#documentation-for-models) 774 [[Back to README]](../README.md) 775 776 777 ## UpdateMember 778 779 > MultipleMember UpdateMember(ctx, groupId).MultipleMember(multipleMember).Execute() 780 781 782 783 784 785 ### Example 786 787 ```go 788 package main 789 790 import ( 791 "context" 792 "fmt" 793 "os" 794 openapiclient "./openapi" 795 ) 796 797 func main() { 798 groupId := TODO // string | 799 multipleMember := *openapiclient.NewMultipleMember() // MultipleMember | 800 801 configuration := openapiclient.NewConfiguration() 802 api_client := openapiclient.NewAPIClient(configuration) 803 resp, r, err := api_client.GroupApi.UpdateMember(context.Background(), groupId).MultipleMember(multipleMember).Execute() 804 if err.Error() != "" { 805 fmt.Fprintf(os.Stderr, "Error when calling `GroupApi.UpdateMember``: %v\n", err) 806 fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) 807 } 808 // response from `UpdateMember`: MultipleMember 809 fmt.Fprintf(os.Stdout, "Response from `GroupApi.UpdateMember`: %v\n", resp) 810 } 811 ``` 812 813 ### Path Parameters 814 815 816 Name | Type | Description | Notes 817 ------------- | ------------- | ------------- | ------------- 818 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 819 **groupId** | [**string**](.md) | | 820 821 ### Other Parameters 822 823 Other parameters are passed through a pointer to a apiUpdateMemberRequest struct via the builder pattern 824 825 826 Name | Type | Description | Notes 827 ------------- | ------------- | ------------- | ------------- 828 829 **multipleMember** | [**MultipleMember**](MultipleMember.md) | | 830 831 ### Return type 832 833 [**MultipleMember**](MultipleMember.md) 834 835 ### Authorization 836 837 No authorization required 838 839 ### HTTP request headers 840 841 - **Content-Type**: application/json 842 - **Accept**: application/json 843 844 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 845 [[Back to Model list]](../README.md#documentation-for-models) 846 [[Back to README]](../README.md) 847