-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1015 lines (1009 loc) · 493 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf8" />
<title>Source Cooperative API</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
padding: 0;
margin: 0;
}
</style>
<script src="https://cdn.redoc.ly/redoc/v2.1.5/bundles/redoc.standalone.js"></script><style data-styled="true" data-styled-version="6.1.13">.dFrZq{width:calc(100% - 40%);padding:0 40px;}/*!sc*/
@media print,screen and (max-width: 75rem){.dFrZq{width:100%;padding:40px 40px;}}/*!sc*/
data-styled.g4[id="sc-fAUdSK"]{content:"dFrZq,"}/*!sc*/
.bvhSud{padding:40px 0;}/*!sc*/
.bvhSud:last-child{min-height:calc(100vh + 1px);}/*!sc*/
.bvhSud>.bvhSud:last-child{min-height:initial;}/*!sc*/
@media print,screen and (max-width: 75rem){.bvhSud{padding:0;}}/*!sc*/
.aYCdu{padding:40px 0;position:relative;}/*!sc*/
.aYCdu:last-child{min-height:calc(100vh + 1px);}/*!sc*/
.aYCdu>.aYCdu:last-child{min-height:initial;}/*!sc*/
@media print,screen and (max-width: 75rem){.aYCdu{padding:0;}}/*!sc*/
.aYCdu:not(:last-of-type):after{position:absolute;bottom:0;width:100%;display:block;content:'';border-bottom:1px solid rgba(0, 0, 0, 0.2);}/*!sc*/
data-styled.g5[id="sc-dntaoT"]{content:"bvhSud,aYCdu,"}/*!sc*/
.gOjFGl{width:40%;color:#ffffff;background-color:#263238;padding:0 40px;}/*!sc*/
@media print,screen and (max-width: 75rem){.gOjFGl{width:100%;padding:40px 40px;}}/*!sc*/
data-styled.g6[id="sc-ivxoEo"]{content:"gOjFGl,"}/*!sc*/
.oECKJ{background-color:#263238;}/*!sc*/
data-styled.g7[id="sc-ghWlax"]{content:"oECKJ,"}/*!sc*/
.dECWTf{display:flex;width:100%;padding:0;}/*!sc*/
@media print,screen and (max-width: 75rem){.dECWTf{flex-direction:column;}}/*!sc*/
data-styled.g8[id="sc-kLhKbu"]{content:"dECWTf,"}/*!sc*/
.kHkxTT{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;line-height:1.6em;color:#333333;}/*!sc*/
data-styled.g9[id="sc-ixGGxD"]{content:"kHkxTT,"}/*!sc*/
.wHiQv{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.57143em;line-height:1.6em;color:#333333;margin:0 0 20px;}/*!sc*/
data-styled.g10[id="sc-khLCKb"]{content:"wHiQv,"}/*!sc*/
.zvQzH{color:#ffffff;}/*!sc*/
data-styled.g12[id="sc-keTIit"]{content:"zvQzH,"}/*!sc*/
.eJAAZj{border-bottom:1px solid rgba(38, 50, 56, 0.3);margin:1em 0 1em 0;color:rgba(38, 50, 56, 0.5);font-weight:normal;text-transform:uppercase;font-size:0.929em;line-height:20px;}/*!sc*/
data-styled.g13[id="sc-dpBQxM"]{content:"eJAAZj,"}/*!sc*/
.hbTOAm{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;outline:0;}/*!sc*/
.hbTOAm:before{content:'';width:15px;height:15px;background-size:contain;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle;}/*!sc*/
h1:hover>.hbTOAm::before,h2:hover>.hbTOAm::before,.hbTOAm:hover::before{visibility:visible;}/*!sc*/
data-styled.g14[id="sc-jwIPbr"]{content:"hbTOAm,"}/*!sc*/
.gkUOTk{height:18px;width:18px;min-width:18px;vertical-align:middle;float:right;transition:transform 0.2s ease-out;transform:rotateZ(-90deg);}/*!sc*/
.bEpxpV{height:1.3em;width:1.3em;min-width:1.3em;vertical-align:middle;transition:transform 0.2s ease-out;transform:rotateZ(-90deg);}/*!sc*/
.hmCwJW{height:1.5em;width:1.5em;min-width:1.5em;vertical-align:middle;float:left;transition:transform 0.2s ease-out;transform:rotateZ(-90deg);}/*!sc*/
.hmCwJW polygon{fill:#1d8127;}/*!sc*/
.fmmJjS{height:20px;width:20px;min-width:20px;vertical-align:middle;float:right;transition:transform 0.2s ease-out;transform:rotateZ(0);}/*!sc*/
.fmmJjS polygon{fill:white;}/*!sc*/
.ccTkAM{height:18px;width:18px;min-width:18px;vertical-align:middle;transition:transform 0.2s ease-out;transform:rotateZ(-90deg);}/*!sc*/
data-styled.g15[id="sc-cHqXqK"]{content:"gkUOTk,bEpxpV,hmCwJW,fmmJjS,ccTkAM,"}/*!sc*/
.iyKqKI{border-left:1px solid #7c7cbb;box-sizing:border-box;position:relative;padding:10px 10px 10px 0;}/*!sc*/
@media screen and (max-width: 50rem){.iyKqKI{display:block;overflow:hidden;}}/*!sc*/
tr:first-of-type>.iyKqKI,tr.last>.iyKqKI{border-left-width:0;background-position:top left;background-repeat:no-repeat;background-size:1px 100%;}/*!sc*/
tr:first-of-type>.iyKqKI{background-image:linear-gradient(
to bottom,
transparent 0%,
transparent 22px,
#7c7cbb 22px,
#7c7cbb 100%
);}/*!sc*/
tr.last>.iyKqKI{background-image:linear-gradient(
to bottom,
#7c7cbb 0%,
#7c7cbb 22px,
transparent 22px,
transparent 100%
);}/*!sc*/
tr.last+tr>.iyKqKI{border-left-color:transparent;}/*!sc*/
tr.last:first-child>.iyKqKI{background:none;border-left-color:transparent;}/*!sc*/
data-styled.g18[id="sc-ovuCP"]{content:"iyKqKI,"}/*!sc*/
.iQpMVv{vertical-align:top;line-height:20px;white-space:nowrap;font-size:13px;font-family:Courier,monospace;}/*!sc*/
.iQpMVv.deprecated{text-decoration:line-through;color:#707070;}/*!sc*/
data-styled.g20[id="sc-eauhAA"]{content:"iQpMVv,"}/*!sc*/
.cHXoZJ{border-bottom:1px solid #9fb4be;padding:10px 0;width:75%;box-sizing:border-box;}/*!sc*/
tr.expanded .cHXoZJ{border-bottom:none;}/*!sc*/
@media screen and (max-width: 50rem){.cHXoZJ{padding:0 20px;border-bottom:none;border-left:1px solid #7c7cbb;}tr.last>.cHXoZJ{border-left:none;}}/*!sc*/
data-styled.g21[id="sc-fFoeYl"]{content:"cHXoZJ,"}/*!sc*/
.kPDxnK{color:#7c7cbb;font-family:Courier,monospace;margin-right:10px;}/*!sc*/
.kPDxnK::before{content:'';display:inline-block;vertical-align:middle;width:10px;height:1px;background:#7c7cbb;}/*!sc*/
.kPDxnK::after{content:'';display:inline-block;vertical-align:middle;width:1px;background:#7c7cbb;height:7px;}/*!sc*/
data-styled.g22[id="sc-gQaihK"]{content:"kPDxnK,"}/*!sc*/
.eNFxPe{border-collapse:separate;border-radius:3px;font-size:14px;border-spacing:0;width:100%;}/*!sc*/
.eNFxPe >tr{vertical-align:middle;}/*!sc*/
@media screen and (max-width: 50rem){.eNFxPe{display:block;}.eNFxPe >tr,.eNFxPe >tbody>tr{display:block;}}/*!sc*/
@media screen and (max-width: 50rem) and (-ms-high-contrast:none){.eNFxPe td{float:left;width:100%;}}/*!sc*/
.eNFxPe .sc-iuUfFv,.eNFxPe .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv,.eNFxPe .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv{margin:1em;margin-right:0;background:#fafafa;}/*!sc*/
.eNFxPe .sc-iuUfFv .sc-iuUfFv,.eNFxPe .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv,.eNFxPe .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv .sc-iuUfFv{background:#ffffff;}/*!sc*/
data-styled.g24[id="sc-dprtRQ"]{content:"eNFxPe,"}/*!sc*/
.iLiFdx{font-size:0.9em;font-family:Courier,monospace;}/*!sc*/
.iLiFdx::after{content:' [';}/*!sc*/
data-styled.g28[id="sc-fwzISk"]{content:"iLiFdx,"}/*!sc*/
.hXgWwi{font-size:0.9em;font-family:Courier,monospace;}/*!sc*/
.hXgWwi::after{content:']';}/*!sc*/
data-styled.g29[id="sc-hbtGpV"]{content:"hXgWwi,"}/*!sc*/
.fbQvpV >ul{list-style:none;padding:0;margin:0;margin:0 -5px;}/*!sc*/
.fbQvpV >ul >li{padding:5px 10px;display:inline-block;background-color:#11171a;border-bottom:1px solid rgba(0, 0, 0, 0.5);cursor:pointer;text-align:center;outline:none;color:#ccc;margin:0 5px 5px 5px;border:1px solid #07090b;border-radius:5px;min-width:60px;font-size:0.9em;font-weight:bold;}/*!sc*/
.fbQvpV >ul >li.react-tabs__tab--selected{color:#333333;background:#ffffff;}/*!sc*/
.fbQvpV >ul >li.react-tabs__tab--selected:focus{outline:auto;}/*!sc*/
.fbQvpV >ul >li:only-child{flex:none;min-width:100px;}/*!sc*/
.fbQvpV >ul >li.tab-success{color:#1d8127;}/*!sc*/
.fbQvpV >ul >li.tab-redirect{color:#ffa500;}/*!sc*/
.fbQvpV >ul >li.tab-info{color:#87ceeb;}/*!sc*/
.fbQvpV >ul >li.tab-error{color:#d41f1c;}/*!sc*/
.fbQvpV >.react-tabs__tab-panel{background:#11171a;}/*!sc*/
.fbQvpV >.react-tabs__tab-panel>div,.fbQvpV >.react-tabs__tab-panel>pre{padding:20px;margin:0;}/*!sc*/
.fbQvpV >.react-tabs__tab-panel>div>pre{padding:0;}/*!sc*/
data-styled.g30[id="sc-bMTdWJ"]{content:"fbQvpV,"}/*!sc*/
.drsioI code[class*='language-'],.drsioI pre[class*='language-']{text-shadow:0 -0.1em 0.2em black;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none;}/*!sc*/
@media print{.drsioI code[class*='language-'],.drsioI pre[class*='language-']{text-shadow:none;}}/*!sc*/
.drsioI pre[class*='language-']{padding:1em;margin:0.5em 0;overflow:auto;}/*!sc*/
.drsioI .token.comment,.drsioI .token.prolog,.drsioI .token.doctype,.drsioI .token.cdata{color:hsl(30, 20%, 50%);}/*!sc*/
.drsioI .token.punctuation{opacity:0.7;}/*!sc*/
.drsioI .namespace{opacity:0.7;}/*!sc*/
.drsioI .token.property,.drsioI .token.tag,.drsioI .token.number,.drsioI .token.constant,.drsioI .token.symbol{color:#4a8bb3;}/*!sc*/
.drsioI .token.boolean{color:#e64441;}/*!sc*/
.drsioI .token.selector,.drsioI .token.attr-name,.drsioI .token.string,.drsioI .token.char,.drsioI .token.builtin,.drsioI .token.inserted{color:#a0fbaa;}/*!sc*/
.drsioI .token.selector+a,.drsioI .token.attr-name+a,.drsioI .token.string+a,.drsioI .token.char+a,.drsioI .token.builtin+a,.drsioI .token.inserted+a,.drsioI .token.selector+a:visited,.drsioI .token.attr-name+a:visited,.drsioI .token.string+a:visited,.drsioI .token.char+a:visited,.drsioI .token.builtin+a:visited,.drsioI .token.inserted+a:visited{color:#4ed2ba;text-decoration:underline;}/*!sc*/
.drsioI .token.property.string{color:white;}/*!sc*/
.drsioI .token.operator,.drsioI .token.entity,.drsioI .token.url,.drsioI .token.variable{color:hsl(40, 90%, 60%);}/*!sc*/
.drsioI .token.atrule,.drsioI .token.attr-value,.drsioI .token.keyword{color:hsl(350, 40%, 70%);}/*!sc*/
.drsioI .token.regex,.drsioI .token.important{color:#e90;}/*!sc*/
.drsioI .token.important,.drsioI .token.bold{font-weight:bold;}/*!sc*/
.drsioI .token.italic{font-style:italic;}/*!sc*/
.drsioI .token.entity{cursor:help;}/*!sc*/
.drsioI .token.deleted{color:red;}/*!sc*/
data-styled.g32[id="sc-epnzzT"]{content:"drsioI,"}/*!sc*/
.hhzNne{opacity:0.7;transition:opacity 0.3s ease;text-align:right;}/*!sc*/
.hhzNne:focus-within{opacity:1;}/*!sc*/
.hhzNne >button{background-color:transparent;border:0;color:inherit;padding:2px 10px;font-family:Roboto,sans-serif;font-size:14px;line-height:1.5em;cursor:pointer;outline:0;}/*!sc*/
.hhzNne >button :hover,.hhzNne >button :focus{background:rgba(255, 255, 255, 0.1);}/*!sc*/
data-styled.g33[id="sc-uYFMi"]{content:"hhzNne,"}/*!sc*/
.cpBPUN{position:relative;}/*!sc*/
data-styled.g37[id="sc-dEkLRj"]{content:"cpBPUN,"}/*!sc*/
.khtVmz{margin-left:10px;text-transform:none;font-size:0.929em;color:black;}/*!sc*/
data-styled.g41[id="sc-dhCplO"]{content:"khtVmz,"}/*!sc*/
.dWZUhK{font-family:Roboto,sans-serif;font-weight:400;line-height:1.5em;}/*!sc*/
.dWZUhK p:last-child{margin-bottom:0;}/*!sc*/
.dWZUhK h1{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;line-height:1.6em;color:#32329f;margin-top:0;}/*!sc*/
.dWZUhK h2{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.57143em;line-height:1.6em;color:#333333;}/*!sc*/
.dWZUhK code{color:#e53935;background-color:rgba(38, 50, 56, 0.05);font-family:Courier,monospace;border-radius:2px;border:1px solid rgba(38, 50, 56, 0.1);padding:0 5px;font-size:13px;font-weight:400;word-break:break-word;}/*!sc*/
.dWZUhK pre{font-family:Courier,monospace;white-space:pre;background-color:#11171a;color:white;padding:20px;overflow-x:auto;line-height:normal;border-radius:0;border:1px solid rgba(38, 50, 56, 0.1);}/*!sc*/
.dWZUhK pre code{background-color:transparent;color:white;padding:0;}/*!sc*/
.dWZUhK pre code:before,.dWZUhK pre code:after{content:none;}/*!sc*/
.dWZUhK blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd;}/*!sc*/
.dWZUhK img{max-width:100%;box-sizing:content-box;}/*!sc*/
.dWZUhK ul,.dWZUhK ol{padding-left:2em;margin:0;margin-bottom:1em;}/*!sc*/
.dWZUhK ul ul,.dWZUhK ol ul,.dWZUhK ul ol,.dWZUhK ol ol{margin-bottom:0;margin-top:0;}/*!sc*/
.dWZUhK table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:1.5em;margin-bottom:1.5em;}/*!sc*/
.dWZUhK table tr{background-color:#fff;border-top:1px solid #ccc;}/*!sc*/
.dWZUhK table tr:nth-child(2n){background-color:#fafafa;}/*!sc*/
.dWZUhK table th,.dWZUhK table td{padding:6px 13px;border:1px solid #ddd;}/*!sc*/
.dWZUhK table th{text-align:left;font-weight:bold;}/*!sc*/
.dWZUhK .share-link{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;outline:0;}/*!sc*/
.dWZUhK .share-link:before{content:'';width:15px;height:15px;background-size:contain;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle;}/*!sc*/
.dWZUhK h1:hover>.share-link::before,.dWZUhK h2:hover>.share-link::before,.dWZUhK .share-link:hover::before{visibility:visible;}/*!sc*/
.dWZUhK a{text-decoration:auto;color:#32329f;}/*!sc*/
.dWZUhK a:visited{color:#32329f;}/*!sc*/
.dWZUhK a:hover{color:#6868cf;text-decoration:auto;}/*!sc*/
.ewnBNs{font-family:Roboto,sans-serif;font-weight:400;line-height:1.5em;}/*!sc*/
.ewnBNs p:last-child{margin-bottom:0;}/*!sc*/
.ewnBNs p:first-child{margin-top:0;}/*!sc*/
.ewnBNs p:last-child{margin-bottom:0;}/*!sc*/
.ewnBNs h1{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.85714em;line-height:1.6em;color:#32329f;margin-top:0;}/*!sc*/
.ewnBNs h2{font-family:Montserrat,sans-serif;font-weight:400;font-size:1.57143em;line-height:1.6em;color:#333333;}/*!sc*/
.ewnBNs code{color:#e53935;background-color:rgba(38, 50, 56, 0.05);font-family:Courier,monospace;border-radius:2px;border:1px solid rgba(38, 50, 56, 0.1);padding:0 5px;font-size:13px;font-weight:400;word-break:break-word;}/*!sc*/
.ewnBNs pre{font-family:Courier,monospace;white-space:pre;background-color:#11171a;color:white;padding:20px;overflow-x:auto;line-height:normal;border-radius:0;border:1px solid rgba(38, 50, 56, 0.1);}/*!sc*/
.ewnBNs pre code{background-color:transparent;color:white;padding:0;}/*!sc*/
.ewnBNs pre code:before,.ewnBNs pre code:after{content:none;}/*!sc*/
.ewnBNs blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd;}/*!sc*/
.ewnBNs img{max-width:100%;box-sizing:content-box;}/*!sc*/
.ewnBNs ul,.ewnBNs ol{padding-left:2em;margin:0;margin-bottom:1em;}/*!sc*/
.ewnBNs ul ul,.ewnBNs ol ul,.ewnBNs ul ol,.ewnBNs ol ol{margin-bottom:0;margin-top:0;}/*!sc*/
.ewnBNs table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:1.5em;margin-bottom:1.5em;}/*!sc*/
.ewnBNs table tr{background-color:#fff;border-top:1px solid #ccc;}/*!sc*/
.ewnBNs table tr:nth-child(2n){background-color:#fafafa;}/*!sc*/
.ewnBNs table th,.ewnBNs table td{padding:6px 13px;border:1px solid #ddd;}/*!sc*/
.ewnBNs table th{text-align:left;font-weight:bold;}/*!sc*/
.ewnBNs .share-link{cursor:pointer;margin-left:-20px;padding:0;line-height:1;width:20px;display:inline-block;outline:0;}/*!sc*/
.ewnBNs .share-link:before{content:'';width:15px;height:15px;background-size:contain;background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==');opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle;}/*!sc*/
.ewnBNs h1:hover>.share-link::before,.ewnBNs h2:hover>.share-link::before,.ewnBNs .share-link:hover::before{visibility:visible;}/*!sc*/
.ewnBNs a{text-decoration:auto;color:#32329f;}/*!sc*/
.ewnBNs a:visited{color:#32329f;}/*!sc*/
.ewnBNs a:hover{color:#6868cf;text-decoration:auto;}/*!sc*/
data-styled.g42[id="sc-eMwmJz"]{content:"dWZUhK,ewnBNs,"}/*!sc*/
.jtjIAv{display:inline;}/*!sc*/
data-styled.g43[id="sc-drVZOg"]{content:"jtjIAv,"}/*!sc*/
.ezdXRP{position:relative;}/*!sc*/
data-styled.g44[id="sc-eWPXlR"]{content:"ezdXRP,"}/*!sc*/
.mMhCU:hover>.sc-uYFMi{opacity:1;}/*!sc*/
data-styled.g49[id="sc-eDHQDy"]{content:"mMhCU,"}/*!sc*/
.iyEpFV{font-family:Courier,monospace;font-size:13px;white-space:pre;contain:content;overflow-x:auto;}/*!sc*/
.iyEpFV .redoc-json code>.collapser{display:none;pointer-events:none;}/*!sc*/
.iyEpFV .callback-function{color:gray;}/*!sc*/
.iyEpFV .collapser:after{content:'-';cursor:pointer;}/*!sc*/
.iyEpFV .collapsed>.collapser:after{content:'+';cursor:pointer;}/*!sc*/
.iyEpFV .ellipsis:after{content:' … ';}/*!sc*/
.iyEpFV .collapsible{margin-left:2em;}/*!sc*/
.iyEpFV .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px;}/*!sc*/
.iyEpFV .hovered{background-color:rgba(235, 238, 249, 1);}/*!sc*/
.iyEpFV .collapser{background-color:transparent;border:0;color:#fff;font-family:Courier,monospace;font-size:13px;padding-right:6px;padding-left:6px;padding-top:0;padding-bottom:0;display:flex;align-items:center;justify-content:center;width:15px;height:15px;position:absolute;top:4px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none;padding:2px;}/*!sc*/
.iyEpFV .collapser:focus{outline-color:#fff;outline-style:dotted;outline-width:1px;}/*!sc*/
.iyEpFV ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px;}/*!sc*/
.iyEpFV li{position:relative;display:block;}/*!sc*/
.iyEpFV .hoverable{display:inline-block;}/*!sc*/
.iyEpFV .selected{outline-style:solid;outline-width:1px;outline-style:dotted;}/*!sc*/
.iyEpFV .collapsed>.collapsible{display:none;}/*!sc*/
.iyEpFV .ellipsis{display:none;}/*!sc*/
.iyEpFV .collapsed>.ellipsis{display:inherit;}/*!sc*/
data-styled.g50[id="sc-giBObj"]{content:"iyEpFV,"}/*!sc*/
.kKXAng{padding:0.9em;background-color:rgba(38,50,56,0.4);margin:0 0 10px 0;display:block;font-family:Montserrat,sans-serif;font-size:0.929em;line-height:1.5em;}/*!sc*/
data-styled.g51[id="sc-UblHX"]{content:"kKXAng,"}/*!sc*/
.eqWzJe{font-family:Montserrat,sans-serif;font-size:12px;position:absolute;z-index:1;top:-11px;left:12px;font-weight:600;color:rgba(255,255,255,0.7);}/*!sc*/
data-styled.g52[id="sc-fufdwm"]{content:"eqWzJe,"}/*!sc*/
.dIDLbO{position:relative;}/*!sc*/
data-styled.g53[id="sc-Rjrgp"]{content:"dIDLbO,"}/*!sc*/
.kqHNPM{margin-top:15px;}/*!sc*/
data-styled.g56[id="sc-FFETS"]{content:"kqHNPM,"}/*!sc*/
.buGHPE.deprecated span.property-name{text-decoration:line-through;color:#707070;}/*!sc*/
.buGHPE button{background-color:transparent;border:0;outline:0;font-size:13px;font-family:Courier,monospace;cursor:pointer;padding:0;color:#333333;}/*!sc*/
.buGHPE button:focus{font-weight:600;}/*!sc*/
.buGHPE .sc-cHqXqK{height:1.1em;width:1.1em;}/*!sc*/
.buGHPE .sc-cHqXqK polygon{fill:#666;}/*!sc*/
data-styled.g57[id="sc-hsfCcR"]{content:"buGHPE,"}/*!sc*/
.hPAOR{vertical-align:middle;font-size:13px;line-height:20px;}/*!sc*/
data-styled.g58[id="sc-CNKsk"]{content:"hPAOR,"}/*!sc*/
.dWKYKL{color:rgba(102,102,102,0.9);}/*!sc*/
data-styled.g59[id="sc-cqgMZH"]{content:"dWKYKL,"}/*!sc*/
.bIEFFi{color:#666;}/*!sc*/
data-styled.g60[id="sc-gQkENW"]{content:"bIEFFi,"}/*!sc*/
.dnQByT{color:#666;word-break:break-word;}/*!sc*/
data-styled.g61[id="sc-gcfzXs"]{content:"dnQByT,"}/*!sc*/
.feFoaC{color:#d41f1c;font-size:0.9em;font-weight:normal;margin-left:20px;line-height:1;}/*!sc*/
data-styled.g62[id="sc-hGZxvd"]{content:"feFoaC,"}/*!sc*/
.hCJxj{color:#0e7c86;}/*!sc*/
.hCJxj::before,.hCJxj::after{font-weight:bold;}/*!sc*/
data-styled.g65[id="sc-bnGbuY"]{content:"hCJxj,"}/*!sc*/
.YZnqP{border-radius:2px;word-break:break-word;background-color:rgba(51,51,51,0.05);color:rgba(51,51,51,0.9);padding:0 5px;border:1px solid rgba(51,51,51,0.1);font-family:Courier,monospace;}/*!sc*/
+{margin-left:0;}/*!sc*/
data-styled.g66[id="sc-cSzYSJ"]{content:"YZnqP,"}/*!sc*/
.diHVZf{border-radius:2px;background-color:rgba(104,104,207,0.05);color:rgba(50,50,159,0.9);margin:0 5px;padding:0 5px;border:1px solid rgba(50,50,159,0.1);}/*!sc*/
+{margin-left:0;}/*!sc*/
data-styled.g68[id="sc-fIfZzT"]{content:"diHVZf,"}/*!sc*/
.hMdiHW{padding-left:10px;}/*!sc*/
data-styled.g75[id="sc-kpAHqd"]{content:"hMdiHW,"}/*!sc*/
.dIXVzO:after{content:' and ';font-weight:normal;}/*!sc*/
.dIXVzO:last-child:after{content:none;}/*!sc*/
.dIXVzO a{text-decoration:auto;color:#32329f;}/*!sc*/
.dIXVzO a:visited{color:#32329f;}/*!sc*/
.dIXVzO a:hover{color:#6868cf;text-decoration:auto;}/*!sc*/
data-styled.g80[id="sc-bqvdXA"]{content:"dIXVzO,"}/*!sc*/
.eqXCjK{white-space:nowrap;}/*!sc*/
.eqXCjK:after{content:' or ';white-space:pre;}/*!sc*/
.eqXCjK:last-child:after,.eqXCjK:only-child:after{content:none;}/*!sc*/
.eqXCjK a{text-decoration:auto;color:#32329f;}/*!sc*/
.eqXCjK a:visited{color:#32329f;}/*!sc*/
.eqXCjK a:hover{color:#6868cf;text-decoration:auto;}/*!sc*/
data-styled.g81[id="sc-irPVuy"]{content:"eqXCjK,"}/*!sc*/
.jXOga-d{flex:1 1 auto;cursor:pointer;}/*!sc*/
data-styled.g82[id="sc-jWJSSj"]{content:"jXOga-d,"}/*!sc*/
.gQOXJB{width:75%;text-overflow:ellipsis;border-radius:4px;overflow:hidden;}/*!sc*/
@media screen and (max-width: 50rem){.gQOXJB{margin-top:10px;}}/*!sc*/
data-styled.g83[id="sc-iCjFWQ"]{content:"gQOXJB,"}/*!sc*/
.ffSXYc{display:inline-block;margin:0;}/*!sc*/
data-styled.g84[id="sc-khdDuB"]{content:"ffSXYc,"}/*!sc*/
.dyzdIR{width:100%;display:flex;margin:1em 0;flex-direction:row;}/*!sc*/
@media screen and (max-width: 50rem){.dyzdIR{flex-direction:column;}}/*!sc*/
data-styled.g85[id="sc-hGNhLO"]{content:"dyzdIR,"}/*!sc*/
.dZsYqS{margin-top:0;margin-bottom:0.5em;}/*!sc*/
data-styled.g91[id="sc-geoRQH"]{content:"dZsYqS,"}/*!sc*/
.enkzRg{border:1px solid #32329f;color:#32329f;font-weight:normal;margin-left:0.5em;padding:4px 8px 4px;display:inline-block;text-decoration:none;cursor:pointer;}/*!sc*/
data-styled.g92[id="sc-kEsJEW"]{content:"enkzRg,"}/*!sc*/
.gYaAxf{width:9ex;display:inline-block;height:13px;line-height:13px;background-color:#333;border-radius:3px;background-repeat:no-repeat;background-position:6px 4px;font-size:7px;font-family:Verdana,sans-serif;color:white;text-transform:uppercase;text-align:center;font-weight:bold;vertical-align:middle;margin-right:6px;margin-top:2px;}/*!sc*/
.gYaAxf.get{background-color:#2F8132;}/*!sc*/
.gYaAxf.post{background-color:#186FAF;}/*!sc*/
.gYaAxf.put{background-color:#95507c;}/*!sc*/
.gYaAxf.options{background-color:#947014;}/*!sc*/
.gYaAxf.patch{background-color:#bf581d;}/*!sc*/
.gYaAxf.delete{background-color:#cc3333;}/*!sc*/
.gYaAxf.basic{background-color:#707070;}/*!sc*/
.gYaAxf.link{background-color:#07818F;}/*!sc*/
.gYaAxf.head{background-color:#A23DAD;}/*!sc*/
.gYaAxf.hook{background-color:#32329f;}/*!sc*/
.gYaAxf.schema{background-color:#707070;}/*!sc*/
data-styled.g99[id="sc-erSfwj"]{content:"gYaAxf,"}/*!sc*/
.dXwhdL{margin:0;padding:0;}/*!sc*/
.dXwhdL:first-child{padding-bottom:32px;}/*!sc*/
.sc-iRVXky .sc-iRVXky{font-size:0.929em;}/*!sc*/
.kUyAbS{margin:0;padding:0;display:none;}/*!sc*/
.kUyAbS:first-child{padding-bottom:32px;}/*!sc*/
.sc-iRVXky .sc-iRVXky{font-size:0.929em;}/*!sc*/
data-styled.g100[id="sc-iRVXky"]{content:"dXwhdL,kUyAbS,"}/*!sc*/
.gSwPLF{list-style:none inside none;overflow:hidden;text-overflow:ellipsis;padding:0;}/*!sc*/
data-styled.g101[id="sc-ljhlHD"]{content:"gSwPLF,"}/*!sc*/
.bgAbkd{cursor:pointer;color:#333333;margin:0;padding:12.5px 20px;display:flex;justify-content:space-between;font-family:Montserrat,sans-serif;font-size:0.929em;text-transform:none;background-color:#fafafa;}/*!sc*/
.bgAbkd:hover{color:#32329f;background-color:#e1e1e1;}/*!sc*/
.bgAbkd .sc-cHqXqK{height:1.5em;width:1.5em;}/*!sc*/
.bgAbkd .sc-cHqXqK polygon{fill:#333333;}/*!sc*/
.dnJKVb{cursor:pointer;color:#333333;margin:0;padding:12.5px 20px;display:flex;justify-content:space-between;font-family:Montserrat,sans-serif;background-color:#fafafa;}/*!sc*/
.dnJKVb:hover{color:#32329f;background-color:#ededed;}/*!sc*/
.dnJKVb .sc-cHqXqK{height:1.5em;width:1.5em;}/*!sc*/
.dnJKVb .sc-cHqXqK polygon{fill:#333333;}/*!sc*/
data-styled.g102[id="sc-bAEjGW"]{content:"bgAbkd,dnJKVb,"}/*!sc*/
.bBONey{display:inline-block;vertical-align:middle;width:calc(100% - 38px);overflow:hidden;text-overflow:ellipsis;}/*!sc*/
data-styled.g103[id="sc-enMaOJ"]{content:"bBONey,"}/*!sc*/
.fxirIR{font-size:0.8em;margin-top:10px;text-align:center;position:fixed;width:260px;bottom:0;background:#fafafa;}/*!sc*/
.fxirIR a,.fxirIR a:visited,.fxirIR a:hover{color:#333333!important;padding:5px 0;border-top:1px solid #e1e1e1;text-decoration:none;display:flex;align-items:center;justify-content:center;}/*!sc*/
.fxirIR img{width:15px;margin-right:5px;}/*!sc*/
@media screen and (max-width: 50rem){.fxirIR{width:100%;}}/*!sc*/
data-styled.g104[id="sc-fUEImY"]{content:"fxirIR,"}/*!sc*/
.dWZoid{cursor:pointer;position:relative;margin-bottom:5px;}/*!sc*/
data-styled.g110[id="sc-duWCru"]{content:"dWZoid,"}/*!sc*/
.iqHzp{font-family:Courier,monospace;margin-left:10px;flex:1;overflow-x:hidden;text-overflow:ellipsis;}/*!sc*/
data-styled.g111[id="sc-etPtWW"]{content:"iqHzp,"}/*!sc*/
.ebcgbH{outline:0;color:inherit;width:100%;text-align:left;cursor:pointer;padding:10px 30px 10px 20px;border-radius:4px 4px 0 0;background-color:#11171a;display:flex;white-space:nowrap;align-items:center;border:1px solid transparent;border-bottom:0;transition:border-color 0.25s ease;}/*!sc*/
.ebcgbH ..sc-etPtWW{color:#ffffff;}/*!sc*/
.ebcgbH:focus{box-shadow:inset 0 2px 2px rgba(0, 0, 0, 0.45),0 2px 0 rgba(128, 128, 128, 0.25);}/*!sc*/
data-styled.g112[id="sc-iPHsxv"]{content:"ebcgbH,"}/*!sc*/
.cpnVKx{font-size:0.929em;line-height:20px;background-color:#186FAF;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/
.IVbnb{font-size:0.929em;line-height:20px;background-color:#2F8132;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/
.gtVIQH{font-size:0.929em;line-height:20px;background-color:#cc3333;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/
.fzqXJO{font-size:0.929em;line-height:20px;background-color:#95507c;color:#ffffff;padding:3px 10px;text-transform:uppercase;font-family:Montserrat,sans-serif;margin:0;}/*!sc*/
data-styled.g113[id="sc-txhaY"]{content:"cpnVKx,IVbnb,gtVIQH,fzqXJO,"}/*!sc*/
.ddApzj{position:absolute;width:100%;z-index:100;background:#fafafa;color:#263238;box-sizing:border-box;box-shadow:0 0 6px rgba(0, 0, 0, 0.33);overflow:hidden;border-bottom-left-radius:4px;border-bottom-right-radius:4px;transition:all 0.25s ease;visibility:hidden;transform:translateY(-50%) scaleY(0);}/*!sc*/
data-styled.g114[id="sc-ePpfBx"]{content:"ddApzj,"}/*!sc*/
.evaCJX{padding:10px;}/*!sc*/
data-styled.g115[id="sc-dwGkES"]{content:"evaCJX,"}/*!sc*/
.gufODt{padding:5px;border:1px solid #ccc;background:#fff;word-break:break-all;color:#32329f;}/*!sc*/
.gufODt >span{color:#333333;}/*!sc*/
data-styled.g116[id="sc-hSyjfr"]{content:"gufODt,"}/*!sc*/
.fRACBr{text-transform:lowercase;margin-left:0;line-height:1.5em;}/*!sc*/
data-styled.g117[id="sc-kLJHhQ"]{content:"fRACBr,"}/*!sc*/
.cnBopK{display:block;border:0;width:100%;text-align:left;padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;cursor:pointer;color:#1d8127;background-color:rgba(29,129,39,0.07);}/*!sc*/
.cnBopK:focus{outline:auto #1d8127;}/*!sc*/
.ktPKSm{display:block;border:0;width:100%;text-align:left;padding:10px;border-radius:2px;margin-bottom:4px;line-height:1.5em;cursor:pointer;color:#d41f1c;background-color:rgba(212,31,28,0.07);cursor:default;}/*!sc*/
.ktPKSm:focus{outline:auto #d41f1c;}/*!sc*/
.ktPKSm::before{content:"—";font-weight:bold;width:1.5em;text-align:center;display:inline-block;vertical-align:top;}/*!sc*/
.ktPKSm:focus{outline:0;}/*!sc*/
data-styled.g119[id="sc-gohMHu"]{content:"cnBopK,ktPKSm,"}/*!sc*/
.beMorW{vertical-align:top;}/*!sc*/
data-styled.g122[id="sc-bKXUjo"]{content:"beMorW,"}/*!sc*/
.dheqgt{font-size:1.3em;padding:0.2em 0;margin:3em 0 1.1em;color:#333333;font-weight:normal;}/*!sc*/
data-styled.g123[id="sc-edsqmr"]{content:"dheqgt,"}/*!sc*/
.exRUVh{margin-bottom:30px;}/*!sc*/
data-styled.g128[id="sc-fantwC"]{content:"exRUVh,"}/*!sc*/
.isQMci{user-select:none;width:20px;height:20px;align-self:center;display:flex;flex-direction:column;color:#32329f;}/*!sc*/
data-styled.g129[id="sc-bLmarx"]{content:"isQMci,"}/*!sc*/
.jmYWik{width:260px;background-color:#fafafa;overflow:hidden;display:flex;flex-direction:column;backface-visibility:hidden;height:100vh;position:sticky;position:-webkit-sticky;top:0;}/*!sc*/
@media screen and (max-width: 50rem){.jmYWik{position:fixed;z-index:20;width:100%;background:#fafafa;display:none;}}/*!sc*/
@media print{.jmYWik{display:none;}}/*!sc*/
data-styled.g130[id="sc-dFqmTM"]{content:"jmYWik,"}/*!sc*/
.cZPhLc{outline:none;user-select:none;background-color:#f2f2f2;color:#32329f;display:none;cursor:pointer;position:fixed;right:20px;z-index:100;border-radius:50%;box-shadow:0 0 20px rgba(0, 0, 0, 0.3);bottom:44px;width:60px;height:60px;padding:0 20px;}/*!sc*/
@media screen and (max-width: 50rem){.cZPhLc{display:flex;}}/*!sc*/
.cZPhLc svg{color:#0065FB;}/*!sc*/
@media print{.cZPhLc{display:none;}}/*!sc*/
data-styled.g131[id="sc-eqXzvo"]{content:"cZPhLc,"}/*!sc*/
.beDZfq{font-family:Roboto,sans-serif;font-size:14px;font-weight:400;line-height:1.5em;color:#333333;display:flex;position:relative;text-align:left;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeSpeed!important;tap-highlight-color:rgba(0, 0, 0, 0);text-size-adjust:100%;}/*!sc*/
.beDZfq *{box-sizing:border-box;-webkit-tap-highlight-color:rgba(255, 255, 255, 0);}/*!sc*/
data-styled.g132[id="sc-iMPxVN"]{content:"beDZfq,"}/*!sc*/
.knmTbM{z-index:1;position:relative;overflow:hidden;width:calc(100% - 260px);contain:layout;}/*!sc*/
@media print,screen and (max-width: 50rem){.knmTbM{width:100%;}}/*!sc*/
data-styled.g133[id="sc-jdwyG"]{content:"knmTbM,"}/*!sc*/
.ifLiBE{background:#263238;position:absolute;top:0;bottom:0;right:0;width:calc((100% - 260px) * 0.4);}/*!sc*/
@media print,screen and (max-width: 75rem){.ifLiBE{display:none;}}/*!sc*/
data-styled.g134[id="sc-eEVuZf"]{content:"ifLiBE,"}/*!sc*/
.cqdCbT{padding:5px 0;}/*!sc*/
data-styled.g135[id="sc-dtOqdk"]{content:"cqdCbT,"}/*!sc*/
.kAGYgE{width:calc(100% - 40px);box-sizing:border-box;margin:0 20px;padding:5px 10px 5px 20px;border:0;border-bottom:1px solid #e1e1e1;font-family:Roboto,sans-serif;font-weight:bold;font-size:13px;color:#333333;background-color:transparent;outline:none;}/*!sc*/
data-styled.g136[id="sc-hPGoDJ"]{content:"kAGYgE,"}/*!sc*/
.eDlXyu{position:absolute;left:20px;height:1.8em;width:0.9em;}/*!sc*/
.eDlXyu path{fill:#333333;}/*!sc*/
data-styled.g137[id="sc-kBpWFy"]{content:"eDlXyu,"}/*!sc*/
</style>
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
</head>
<body>
<div id="redoc"><div class="sc-iMPxVN beDZfq redoc-wrap"><div class="sc-dFqmTM jmYWik menu-content" style="top:0px;height:calc(100vh - 0px)"><div role="search" class="sc-dtOqdk cqdCbT"><svg class="sc-kBpWFy eDlXyu search-icon" version="1.1" viewBox="0 0 1000 1000" x="0px" xmlns="http://www.w3.org/2000/svg" y="0px"><path d="M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"></path></svg><input placeholder="Search..." aria-label="Search" type="text" class="sc-hPGoDJ kAGYgE search-input" value=""/></div><div class="sc-dEkLRj cpBPUN scrollbar-container undefined"><ul role="menu" class="sc-iRVXky dXwhdL"><li tabindex="0" depth="1" data-item-id="tag/API-Keys" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="API Keys" class="sc-enMaOJ bBONey">API Keys</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new API key for an account.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List API keys for an account</span></label></li><li tabindex="0" depth="2" data-item-id="tag/API-Keys/paths/~1api-keys~1{access_key_id}/delete" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="delete" class="sc-erSfwj gYaAxf operation-type delete">del</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Revoke an API key</span></label></li><li tabindex="0" depth="2" data-item-id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new API key</span></label></li><li tabindex="0" depth="2" data-item-id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List API keys for a repository</span></label></li></ul></li><li tabindex="0" depth="1" data-item-id="tag/Accounts" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="Accounts" class="sc-enMaOJ bBONey">Accounts</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new API key for an account.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List API keys for an account</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get account flags</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/put" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="put" class="sc-erSfwj gYaAxf operation-type put">put</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Update account flags</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get account details</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}/delete" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="delete" class="sc-erSfwj gYaAxf operation-type delete">del</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Disable an account</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1members/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Invite a new member to an account.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1members/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List the memberships for an account</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get account profile</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/put" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="put" class="sc-erSfwj gYaAxf operation-type put">put</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Update account profile</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Accounts/paths/~1accounts/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new account</span></label></li></ul></li><li tabindex="0" depth="1" data-item-id="tag/Memberships" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="Memberships" class="sc-enMaOJ bBONey">Memberships</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1accounts~1{account_id}~1members/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Invite a new member to an account.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1accounts~1{account_id}~1members/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List the memberships for an account</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1memberships~1{membership_id}~1accept/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Accept a membership invitation.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1memberships~1{membership_id}~1reject/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Rejects a membership invitation.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1memberships~1{membership_id}~1revoke/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Revokes a membership.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1memberships~1{membership_id}~1update-role/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Updates a membership role.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Invite a new member to a repository.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List the memberships for a repository</span></label></li></ul></li><li tabindex="0" depth="1" data-item-id="tag/Data-Connections" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="Data Connections" class="sc-enMaOJ bBONey">Data Connections</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get a data connection</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/put" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="put" class="sc-erSfwj gYaAxf operation-type put">put</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Update a data connection</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/delete" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="delete" class="sc-erSfwj gYaAxf operation-type delete">del</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Disable a data connection</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections~1available/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List data connections available to the user for repository creation</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List data connections</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Data-Connections/paths/~1data-connections/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new data connection</span></label></li></ul></li><li tabindex="0" depth="1" data-item-id="tag/Repositories" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="Repositories" class="sc-enMaOJ bBONey">Repositories</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new API key</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List API keys for a repository</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/put" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="put" class="sc-erSfwj gYaAxf operation-type put">put</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Update an existing repository</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/delete" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="delete" class="sc-erSfwj gYaAxf operation-type delete">del</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Disable an existing repository</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get an existing repository</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Invite a new member to a repository.</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">List the memberships for a repository</span></label></li><li tabindex="0" depth="2" data-item-id="tag/Repositories/paths/~1repositories~1{account_id}/post" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="post" class="sc-erSfwj gYaAxf operation-type post">post</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Create a new repository</span></label></li></ul></li><li tabindex="0" depth="1" data-item-id="tag/Authentication" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW bgAbkd -depth1"><span width="calc(100% - 38px)" title="Authentication" class="sc-enMaOJ bBONey">Authentication</span><svg class="sc-cHqXqK gkUOTk" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></label><ul class="sc-iRVXky kUyAbS"><li tabindex="0" depth="2" data-item-id="tag/Authentication/paths/~1whoami/get" role="menuitem" class="sc-ljhlHD gSwPLF"><label class="sc-bAEjGW dnJKVb -depth2"><span type="get" class="sc-erSfwj gYaAxf operation-type get">get</span><span tabindex="0" width="calc(100% - 38px)" class="sc-enMaOJ bBONey">Get the current user's session information. If the</span></label></li></ul></li></ul><div class="sc-fUEImY fxirIR"><a target="_blank" rel="noopener noreferrer" href="https://redocly.com/redoc/">API docs by Redocly</a></div></div></div><div class="sc-eqXzvo cZPhLc"><div class="sc-bLmarx isQMci"><svg class="" style="transform:translate(2px, -4px) rotate(180deg);transition:transform 0.2s ease" viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15"><g transform="translate(904.92214,-879.1482)"><path d="
m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,
-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,
0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,
-174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,
-174.68583 0.6895,0 26.281,25.03215 56.8701,
55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864
-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,
-104.0616 -231.873,-231.248 z
" fill="currentColor"></path></g></svg><svg class="" style="transform:translate(2px, 4px);transition:transform 0.2s ease" viewBox="0 0 926.23699 573.74994" version="1.1" x="0px" y="0px" width="15" height="15"><g transform="translate(904.92214,-879.1482)"><path d="
m -673.67664,1221.6502 -231.2455,-231.24803 55.6165,
-55.627 c 30.5891,-30.59485 56.1806,-55.627 56.8701,-55.627 0.6894,
0 79.8637,78.60862 175.9427,174.68583 l 174.6892,174.6858 174.6892,
-174.6858 c 96.079,-96.07721 175.253196,-174.68583 175.942696,
-174.68583 0.6895,0 26.281,25.03215 56.8701,
55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864
-231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688,
-104.0616 -231.873,-231.248 z
" fill="currentColor"></path></g></svg></div></div><div class="sc-jdwyG knmTbM api-content"><div class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq api-info"><h1 class="sc-ixGGxD sc-geoRQH kHkxTT dZsYqS">Source Cooperative API<!-- --> <span>(<!-- -->1.0.0<!-- -->)</span></h1><p>Download OpenAPI specification<!-- -->:<a download="openapi.json" target="_blank" class="sc-kEsJEW enkzRg">Download</a></p><div class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><div data-role="redoc-summary" html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><div data-role="redoc-description" html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div></div></div></div><div id="tag/API-Keys" data-section-id="tag/API-Keys" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys" aria-label="tag/API-Keys"></a>API Keys</h2></div></div></div><div id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/post" data-section-id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/post" aria-label="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/post"></a>Create a new API key for an account.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are creating the API key for.
Only users with the <code>admin</code> flag may create API keys for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are creating the API key for.
Only users with the <code>admin</code> flag may create API keys for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to create the API key for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to create the API key for</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="expires" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">expires</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi"> <!-- --><<!-- -->date-time<!-- -->><!-- --> </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created API key</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created API key</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or expiration date</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or expiration date</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R154oq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R154oq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R154oq:0" aria-labelledby="tab:R154oq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R174oq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R174oq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R174oq:0" aria-labelledby="tab:R174oq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"secret_access_key"</span>: <span class="token string">"stringstringstringstringstringstringstringstringstringstringstri"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/get" data-section-id="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/get" aria-label="tag/API-Keys/paths/~1accounts~1{account_id}~1api-keys/get"></a>List API keys for an account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing API keys for.
Only users with the <code>admin</code> flag may list API keys for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing API keys for.
Only users with the <code>admin</code> flag may list API keys for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to list API keys for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to list API keys for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved API keys</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved API keys</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R1758q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R1758q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R1758q:0" aria-labelledby="tab:R1758q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/API-Keys/paths/~1api-keys~1{access_key_id}/delete" data-section-id="tag/API-Keys/paths/~1api-keys~1{access_key_id}/delete" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys/paths/~1api-keys~1{access_key_id}/delete" aria-label="tag/API-Keys/paths/~1api-keys~1{access_key_id}/delete"></a>Revoke an API key<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Revokes (disables) the specified API key. For an API Key assigned to a User account, only the user who created the API key can revoke it. For an API Key assigned to an Organization, only organization members with <code>owners</code> or <code>maintainers</code> membership can revoke it. For an API Key assigned to a Repoisitory, only repository or organization members with <code>owners</code> or <code>maintainers</code> membership can revoke it. Users with the <code>admin</code> flag may disable any API Key.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Revokes (disables) the specified API key. For an API Key assigned to a User account, only the user who created the API key can revoke it. For an API Key assigned to an Organization, only organization members with <code>owners</code> or <code>maintainers</code> membership can revoke it. For an API Key assigned to a Repoisitory, only repository or organization members with <code>owners</code> or <code>maintainers</code> membership can revoke it. Users with the <code>admin</code> flag may disable any API Key.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="access_key_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">access_key_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The access key ID of the API key to revoke</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The access key ID of the API key to revoke</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully revoked API key</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully revoked API key</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found, insufficient permissions, or API key not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found, insufficient permissions, or API key not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="delete" class="sc-txhaY gtVIQH http-verb delete">delete</span><span class="sc-etPtWW iqHzp">/api-keys/{access_key_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/api-keys/{access_key_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R175oq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R175oq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R175oq:0" aria-labelledby="tab:R175oq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" data-section-id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" aria-label="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post"></a>Create a new API key<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new API key for the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may create an API Key. Users with the <code>admin</code> flag may create API keys for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new API key for the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may create an API Key. Users with the <code>admin</code> flag may create API keys for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to create the API key for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to create the API key for</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="expires" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">expires</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi"> <!-- --><<!-- -->date-time<!-- -->><!-- --> </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created API key</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created API key</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or expiration date</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or expiration date</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R1568q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R1568q:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R1568q:0" aria-labelledby="tab:R1568q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R1768q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R1768q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R1768q:0" aria-labelledby="tab:R1768q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"secret_access_key"</span>: <span class="token string">"stringstringstringstringstringstringstringstringstringstringstri"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" data-section-id="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" aria-label="tag/API-Keys/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get"></a>List API keys for a repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all API keys associated with the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may list API keys. Users with the <code>admin</code> flag may list API keys for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all API keys associated with the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may list API keys. Users with the <code>admin</code> flag may list API keys for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to list API keys for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to list API keys for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved API keys</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved API keys</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R176oq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R176oq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R176oq:0" aria-labelledby="tab:R176oq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts" data-section-id="tag/Accounts" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts" aria-label="tag/Accounts"></a>Accounts</h2></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/post" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/post" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/post"></a>Create a new API key for an account.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are creating the API key for.
Only users with the <code>admin</code> flag may create API keys for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new API key for the specified account. API key expiration date must be in the future. For user accounts, you must be authenticated as the user account you are creating the API key for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are creating the API key for.
Only users with the <code>admin</code> flag may create API keys for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to create the API key for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to create the API key for</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="expires" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">expires</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi"> <!-- --><<!-- -->date-time<!-- -->><!-- --> </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created API key</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created API key</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or expiration date</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or expiration date</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2a8pa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2a8pa:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2a8pa:0" aria-labelledby="tab:R2a8pa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e8pa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e8pa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e8pa:0" aria-labelledby="tab:R2e8pa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"secret_access_key"</span>: <span class="token string">"stringstringstringstringstringstringstringstringstringstringstri"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/get" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/get" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1api-keys/get"></a>List API keys for an account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing API keys for.
Only users with the <code>admin</code> flag may list API keys for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all API keys associated with the specified account. For user accounts, you must be authenticated as the user account you are listing API keys for. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing API keys for.
Only users with the <code>admin</code> flag may list API keys for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to list API keys for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to list API keys for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved API keys</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved API keys</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e99a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e99a:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e99a:0" aria-labelledby="tab:R2e99a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/get" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1flags/get" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1flags/get"></a>Get account flags<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves the flags of a specific account. For a User account, users may only get the flags for their own account. For an Organization account, only users who are <code>owners</code> or <code>maintainers</code> of the organization may get the flags. Users with the <code>admin</code> flag may get the flags for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves the flags of a specific account. For a User account, users may only get the flags for their own account. For an Organization account, only users who are <code>owners</code> or <code>maintainers</code> of the organization may get the flags. Users with the <code>admin</code> flag may get the flags for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account whose flags to retrieve</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account whose flags to retrieve</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved account flags</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved account flags</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/flags</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/flags</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e9pa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e9pa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e9pa:0" aria-labelledby="tab:R2e9pa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/put" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1flags/put" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1flags/put" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1flags/put"></a>Update account flags<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Updates the flags of a specific account. You must have the <code>admin</code> flag to update the flags for an account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Updates the flags of a specific account. You must have the <code>admin</code> flag to update the flags for an account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account whose flags to update</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account whose flags to update</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><div><div class="sc-fwzISk iLiFdx"> Array </div><div class="sc-kpAHqd hMdiHW"><div><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"admin"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_repositories"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_organizations"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></div></div><div class="sc-hbtGpV hXgWwi"></div></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully updated the account flags</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully updated the account flags</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Invalid flags data</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Invalid flags data</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="put" class="sc-txhaY fzqXJO http-verb put">put</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/flags</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/flags</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2aa9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2aa9a:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2aa9a:0" aria-labelledby="tab:R2aa9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ea9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ea9a:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ea9a:0" aria-labelledby="tab:R2ea9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}/get" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}/get" aria-label="tag/Accounts/paths/~1accounts~1{account_id}/get"></a>Get account details<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves the details of a specific account. For a User account, you must be authenticated as the user you are retrieving the account details for. For an Organization account, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization you are retrieving the account details for. Users with the <code>admin</code> flag may retrieve the account details for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves the details of a specific account. For a User account, you must be authenticated as the user you are retrieving the account details for. For an Organization account, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization you are retrieving the account details for. Users with the <code>admin</code> flag may retrieve the account details for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to retrieve</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to retrieve</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved account details</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved account details</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eapa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eapa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eapa:0" aria-labelledby="tab:R2eapa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_type"</span>: <span class="token string">"user"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"identity_id"</span>: <span class="token string">"identity-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"profile"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"flags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}/delete" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}/delete" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}/delete" aria-label="tag/Accounts/paths/~1accounts~1{account_id}/delete"></a>Disable an account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Disables a specific account. User accounts may not be disabled unless you are authenticated as a user with the <code>admin</code> flag. Organization accounts require that you are authenticated as an <code>owners</code> or <code>maintainers</code> member of the organization.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Disables a specific account. User accounts may not be disabled unless you are authenticated as a user with the <code>admin</code> flag. Organization accounts require that you are authenticated as an <code>owners</code> or <code>maintainers</code> member of the organization.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to disable</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to disable</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully disabled the account</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully disabled the account</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="delete" class="sc-txhaY gtVIQH http-verb delete">delete</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eb9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eb9a:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eb9a:0" aria-labelledby="tab:R2eb9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_type"</span>: <span class="token string">"user"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"identity_id"</span>: <span class="token string">"identity-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"profile"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"flags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1members/post" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1members/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1members/post" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1members/post"></a>Invite a new member to an account.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are inviting the member to.
Only users with the <code>admin</code> flag may invite members to service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are inviting the member to.
Only users with the <code>admin</code> flag may invite members to service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to invite the member to</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to invite the member to</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="role" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">role</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->MembershipRole<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"owners"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"maintainers"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"read_data"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"write_data"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully invited member</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully invited member</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or member already invited/exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or member already invited/exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2abpa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2abpa:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2abpa:0" aria-labelledby="tab:R2abpa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ebpa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ebpa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ebpa:0" aria-labelledby="tab:R2ebpa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1members/get" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1members/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1members/get" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1members/get"></a>List the memberships for an account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing memberships for.</p>
<p>Only users with the <code>admin</code> flag may list memberships for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing memberships for.</p>
<p>Only users with the <code>admin</code> flag may list memberships for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to list memberships for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to list memberships for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved memberships</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved memberships</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ec9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ec9a:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ec9a:0" aria-labelledby="tab:R2ec9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/get" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1profile/get" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1profile/get"></a>Get account profile<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves the profile of a specific account. Any user, authenticated or not, can retrieve the profile of any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves the profile of a specific account. Any user, authenticated or not, can retrieve the profile of any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account whose profile to retrieve</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account whose profile to retrieve</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved account profile</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved account profile</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/profile</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/profile</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ecpa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ecpa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ecpa:0" aria-labelledby="tab:R2ecpa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/put" data-section-id="tag/Accounts/paths/~1accounts~1{account_id}~1profile/put" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts~1{account_id}~1profile/put" aria-label="tag/Accounts/paths/~1accounts~1{account_id}~1profile/put"></a>Update account profile<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Updates the profile of a specific account. For a User account, you must be authenticated as the user you are updating the profile for. For an Organization account, you must be authenticated as an <code>owners</code> member of the organization you are updating the profile for. Users with the <code>admin</code> flag may update the profile for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Updates the profile of a specific account. For a User account, you must be authenticated as the user you are updating the profile for. For an Organization account, you must be authenticated as an <code>owners</code> member of the organization you are updating the profile for. Users with the <code>admin</code> flag may update the profile for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account whose profile to update</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account whose profile to update</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string or null</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- --><= 128 characters<!-- --> </span></span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="bio" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">bio</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string or null</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- --><= 1024 characters<!-- --> </span></span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="location" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">location</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string or null</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- --><= 128 characters<!-- --> </span></span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="url" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">url</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string or null</span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi"> <!-- --><<!-- -->uri<!-- -->><!-- --> </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully updated the account profile</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully updated the account profile</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Invalid profile data</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Invalid profile data</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account with the specified ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account with the specified ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="put" class="sc-txhaY fzqXJO http-verb put">put</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/profile</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/profile</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2ad9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ad9a:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ad9a:0" aria-labelledby="tab:R2ad9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ed9a:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ed9a:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ed9a:0" aria-labelledby="tab:R2ed9a:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Accounts/paths/~1accounts/post" data-section-id="tag/Accounts/paths/~1accounts/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Accounts/paths/~1accounts/post" aria-label="tag/Accounts/paths/~1accounts/post"></a>Create a new account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new account. Authenticated users can only create a user account if they do not already have one. Only users with the <code>create_organizations</code> flag may create organization accounts. Users with the <code>admin</code> flag may create any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new account. Authenticated users can only create a user account if they do not already have one. Only users with the <code>create_organizations</code> flag may create organization accounts. Users with the <code>admin</code> flag may create any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="account_type" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_type</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->AccountType<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"user"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"organization"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"service"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="profile" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand profile"><span class="property-name">profile</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">object</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->AccountProfile<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created account</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created account</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or an account with the same ID already exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or an account with the same ID already exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or user already has an account</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or user already has an account</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/accounts</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2adpa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2adpa:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2adpa:0" aria-labelledby="tab:R2adpa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_type"</span>: <span class="token string">"user"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"profile"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2edpa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2edpa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2edpa:0" aria-labelledby="tab:R2edpa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_type"</span>: <span class="token string">"user"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"identity_id"</span>: <span class="token string">"identity-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"profile"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Isaac Asimov"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bio"</span>: <span class="token string">"Software Engineer @radiantearth"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"location"</span>: <span class="token string">"Augsburg, Germany"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"url"</span>: <span class="token string">"</span><a href="https://source.coop">https://source.coop</a><span class="token string">"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"flags"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"admin"</span></div></li></ul><span class="token punctuation">]</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships" data-section-id="tag/Memberships" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships" aria-label="tag/Memberships"></a>Memberships</h2></div></div></div><div id="tag/Memberships/paths/~1accounts~1{account_id}~1members/post" data-section-id="tag/Memberships/paths/~1accounts~1{account_id}~1members/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1accounts~1{account_id}~1members/post" aria-label="tag/Memberships/paths/~1accounts~1{account_id}~1members/post"></a>Invite a new member to an account.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are inviting the member to.
Only users with the <code>admin</code> flag may invite members to service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Invites a new member to the specified account. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization account you are inviting the member to.
Only users with the <code>admin</code> flag may invite members to service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to invite the member to</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to invite the member to</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="role" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">role</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->MembershipRole<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"owners"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"maintainers"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"read_data"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"write_data"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully invited member</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully invited member</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or member already invited/exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or member already invited/exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2a8pq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2a8pq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2a8pq:0" aria-labelledby="tab:R2a8pq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e8pq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e8pq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e8pq:0" aria-labelledby="tab:R2e8pq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1accounts~1{account_id}~1members/get" data-section-id="tag/Memberships/paths/~1accounts~1{account_id}~1members/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1accounts~1{account_id}~1members/get" aria-label="tag/Memberships/paths/~1accounts~1{account_id}~1members/get"></a>List the memberships for an account<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing memberships for.</p>
<p>Only users with the <code>admin</code> flag may list memberships for service accounts.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all memberships associated with the specified account.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization account you are listing memberships for.</p>
<p>Only users with the <code>admin</code> flag may list memberships for service accounts.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to list memberships for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to list memberships for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved memberships</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved memberships</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Account not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Account not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/accounts/{account_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/accounts/{account_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e99q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e99q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e99q:0" aria-labelledby="tab:R2e99q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1memberships~1{membership_id}~1accept/post" data-section-id="tag/Memberships/paths/~1memberships~1{membership_id}~1accept/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1memberships~1{membership_id}~1accept/post" aria-label="tag/Memberships/paths/~1memberships~1{membership_id}~1accept/post"></a>Accept a membership invitation.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Accepts a membership invitation for the specified membership. The user must be authorized to accept the membership.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Accepts a membership invitation for the specified membership. The user must be authorized to accept the membership.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="membership_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">membership_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the membership to accept</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the membership to accept</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully accepted membership</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully accepted membership</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Membership is not in a pending state</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Membership is not in a pending state</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Membership not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Membership not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/memberships/{membership_id}/accept</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/memberships/{membership_id}/accept</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e9pq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e9pq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e9pq:0" aria-labelledby="tab:R2e9pq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1memberships~1{membership_id}~1reject/post" data-section-id="tag/Memberships/paths/~1memberships~1{membership_id}~1reject/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1memberships~1{membership_id}~1reject/post" aria-label="tag/Memberships/paths/~1memberships~1{membership_id}~1reject/post"></a>Rejects a membership invitation.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Rejects a membership invitation for the specified membership. The user must be authorized to reject the membership.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Rejects a membership invitation for the specified membership. The user must be authorized to reject the membership.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="membership_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">membership_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the membership to reject</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the membership to reject</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully rejected membership</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully rejected membership</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Membership is not in a pending state</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Membership is not in a pending state</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Membership not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Membership not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/memberships/{membership_id}/reject</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/memberships/{membership_id}/reject</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ea9q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ea9q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ea9q:0" aria-labelledby="tab:R2ea9q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1memberships~1{membership_id}~1revoke/post" data-section-id="tag/Memberships/paths/~1memberships~1{membership_id}~1revoke/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1memberships~1{membership_id}~1revoke/post" aria-label="tag/Memberships/paths/~1memberships~1{membership_id}~1revoke/post"></a>Revokes a membership.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Revokes the specified membership. The user must be authorized to revoke the membership.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Revokes the specified membership. The user must be authorized to revoke the membership.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="membership_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">membership_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the membership to revoke</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the membership to revoke</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully revoked membership</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully revoked membership</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Membership is already revoked</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Membership is already revoked</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Membership not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Membership not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/memberships/{membership_id}/revoke</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/memberships/{membership_id}/revoke</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eapq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eapq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eapq:0" aria-labelledby="tab:R2eapq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1memberships~1{membership_id}~1update-role/post" data-section-id="tag/Memberships/paths/~1memberships~1{membership_id}~1update-role/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1memberships~1{membership_id}~1update-role/post" aria-label="tag/Memberships/paths/~1memberships~1{membership_id}~1update-role/post"></a>Updates a membership role.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Updates the specified membership. The user must be authorized to update the membership.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Updates the specified membership. The user must be authorized to update the membership.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="membership_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">membership_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the membership to update</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the membership to update</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><div><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->MembershipRole<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"owners"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"maintainers"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"read_data"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"write_data"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully updated membership</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully updated membership</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Membership not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Membership not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/memberships/{membership_id}/update-role</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/memberships/{membership_id}/update-role</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2ab9q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ab9q:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ab9q:0" aria-labelledby="tab:R2ab9q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><span class="token string">"owners"</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eb9q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eb9q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eb9q:0" aria-labelledby="tab:R2eb9q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" data-section-id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" aria-label="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/post"></a>Invite a new member to a repository.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization or repository you are inviting the member to.
Users with the <code>admin</code> flag may invite users to any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization or repository you are inviting the member to.
Users with the <code>admin</code> flag may invite users to any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to invite the member to</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to invite the member to</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="role" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">role</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->MembershipRole<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"owners"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"maintainers"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"read_data"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"write_data"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully invited member</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully invited member</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or member already invited/exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or member already invited/exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2abpq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2abpq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2abpq:0" aria-labelledby="tab:R2abpq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ebpq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ebpq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ebpq:0" aria-labelledby="tab:R2ebpq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" data-section-id="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" aria-label="tag/Memberships/paths/~1repositories~1{account_id}~1{repository_id}~1members/get"></a>List the memberships for a repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization or repository you are listing memberships for.</p>
<p>Users with the <code>admin</code> flag may list memberships for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization or repository you are listing memberships for.</p>
<p>Users with the <code>admin</code> flag may list memberships for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to list memberships for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to list memberships for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved memberships</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved memberships</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ec9q:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ec9q:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ec9q:0" aria-labelledby="tab:R2ec9q:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections" data-section-id="tag/Data-Connections" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections" aria-label="tag/Data-Connections"></a>Data Connections</h2></div></div></div><div id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/get" data-section-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/get" aria-label="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/get"></a>Get a data connection<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves a data connection by its ID. Authentication credentials are only included for users with the appropriate permissions.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves a data connection by its ID. Authentication credentials are only included for users with the appropriate permissions.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved the data connection</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved the data connection</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Data connection with the given ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Data connection with the given ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/data-connections/{data_connection_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections/{data_connection_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R174qa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R174qa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R174qa:0" aria-labelledby="tab:R174qa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/put" data-section-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/put" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/put" aria-label="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/put"></a>Update a data connection<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Updates an existing data connection. Only users with the appropriate permissions can update data connections.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Updates an existing data connection. Only users with the appropriate permissions can update data connections.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="prefix_template" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">prefix_template</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="read_only" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">read_only</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">boolean</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="allowed_data_modes" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">allowed_data_modes</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL">Array of </span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">strings</span></div><div><span class="sc-CNKsk hPAOR">Items<!-- --> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"open"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"subscription"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"private"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="required_flag" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">required_flag</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"admin"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_repositories"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_organizations"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="details" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand details"><span class="property-name">details</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">any</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->DataConnectionDetails<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="authentication" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand authentication"><span class="property-name">authentication</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">any</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->DataConnectionAuthentication<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully updated the data connection</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully updated the data connection</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Invalid data connection data</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Invalid data connection data</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Data connection with the given ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Data connection with the given ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="put" class="sc-txhaY fzqXJO http-verb put">put</span><span class="sc-etPtWW iqHzp">/data-connections/{data_connection_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections/{data_connection_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R155aa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R155aa:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R155aa:0" aria-labelledby="tab:R155aa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R175aa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R175aa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R175aa:0" aria-labelledby="tab:R175aa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/delete" data-section-id="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/delete" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/delete" aria-label="tag/Data-Connections/paths/~1data-connections~1{data_connection_id}/delete"></a>Disable a data connection<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Disables a data connection by setting it to read-only. Only users with the appropriate permissions can disable data connections.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Disables a data connection by setting it to read-only. Only users with the appropriate permissions can disable data connections.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully disabled the data connection</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully disabled the data connection</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Data connection with the given ID does not exist</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Data connection with the given ID does not exist</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="delete" class="sc-txhaY gtVIQH http-verb delete">delete</span><span class="sc-etPtWW iqHzp">/data-connections/{data_connection_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections/{data_connection_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R175qa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R175qa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R175qa:0" aria-labelledby="tab:R175qa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections/paths/~1data-connections~1available/get" data-section-id="tag/Data-Connections/paths/~1data-connections~1available/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections~1available/get" aria-label="tag/Data-Connections/paths/~1data-connections~1available/get"></a>List data connections available to the user for repository creation<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves a list of data connections which the user is allowed to use for creating repositories. The list is sanitized of data connection credentials based on the user&#39;s permissions.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves a list of data connections which the user is allowed to use for creating repositories. The list is sanitized of data connection credentials based on the user's permissions.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved the list of data connections</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved the list of data connections</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">403<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/data-connections/available</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections/available</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R176aa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R176aa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R176aa:0" aria-labelledby="tab:R176aa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"details"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections/paths/~1data-connections/get" data-section-id="tag/Data-Connections/paths/~1data-connections/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections/get" aria-label="tag/Data-Connections/paths/~1data-connections/get"></a>List data connections<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves a list of data connections. The list is sanitized of data connection credentials based on the user&#39;s permissions.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves a list of data connections. The list is sanitized of data connection credentials based on the user's permissions.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved the list of data connections</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved the list of data connections</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/data-connections</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R176qa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R176qa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R176qa:0" aria-labelledby="tab:R176qa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"details"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Data-Connections/paths/~1data-connections/post" data-section-id="tag/Data-Connections/paths/~1data-connections/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Data-Connections/paths/~1data-connections/post" aria-label="tag/Data-Connections/paths/~1data-connections/post"></a>Create a new data connection<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new data connection. Only users with the <code>admin</code> flag may create data connections.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new data connection. Only users with the <code>admin</code> flag may create data connections.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="prefix_template" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">prefix_template</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="read_only" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">read_only</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">boolean</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="allowed_data_modes" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">allowed_data_modes</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL">Array of </span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">strings</span></div><div><span class="sc-CNKsk hPAOR">Items<!-- --> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"open"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"subscription"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"private"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="required_flag" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">required_flag</span></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"admin"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_repositories"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"create_organizations"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="details" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand details"><span class="property-name">details</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">any</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->DataConnectionDetails<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="authentication" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand authentication"><span class="property-name">authentication</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">any</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->DataConnectionAuthentication<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created the data connection</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created the data connection</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad Request - Invalid data connection data or data connection already exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad Request - Invalid data connection data or data connection already exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/data-connections</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/data-connections</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R157aa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R157aa:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R157aa:0" aria-labelledby="tab:R157aa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R177aa:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R177aa:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R177aa:0" aria-labelledby="tab:R177aa:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"prefix_template"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"read_only"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"allowed_data_modes"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable collapsed"><span class="token string">"open"</span></div></li></ul><span class="token punctuation">]</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"required_flag"</span>: <span class="token string">"admin"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"details"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"provider"</span>: <span class="token string">"s3"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"bucket"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"base_prefix"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"region"</span>: <span class="token string">"af-south-1"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"authentication"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"type"</span>: <span class="token string">"s3_access_key"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"secret_access_key"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories" data-section-id="tag/Repositories" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories" aria-label="tag/Repositories"></a>Repositories</h2></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/post"></a>Create a new API key<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new API key for the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may create an API Key. Users with the <code>admin</code> flag may create API keys for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new API key for the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may create an API Key. Users with the <code>admin</code> flag may create API keys for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to create the API key for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to create the API key for</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="name" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">name</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="expires" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">expires</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi"> <!-- --><<!-- -->date-time<!-- -->><!-- --> </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created API key</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created API key</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or expiration date</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or expiration date</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2a8qq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2a8qq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2a8qq:0" aria-labelledby="tab:R2a8qq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e8qq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e8qq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e8qq:0" aria-labelledby="tab:R2e8qq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"secret_access_key"</span>: <span class="token string">"stringstringstringstringstringstringstringstringstringstringstri"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1api-keys/get"></a>List API keys for a repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all API keys associated with the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may list API keys. Users with the <code>admin</code> flag may list API keys for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all API keys associated with the specified repository. Only users who are an <code>owners</code> or <code>maintainers</code> member of the repository or organization may list API keys. Users with the <code>admin</code> flag may list API keys for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to list API keys for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to list API keys for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved API keys</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved API keys</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/api-keys</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/api-keys</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e9aq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e9aq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e9aq:0" aria-labelledby="tab:R2e9aq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"access_key_id"</span>: <span class="token string">"SCFOOBAR"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"disabled"</span>: <span class="token boolean">true</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"expires"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"name"</span>: <span class="token string">"Dev Machine"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/put" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/put" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/put" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/put"></a>Update an existing repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Updates an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are updating the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are updating the repository for.</p>
<p>Users with the <code>admin</code> flag may update repositories for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Updates an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are updating the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are updating the repository for.</p>
<p>Users with the <code>admin</code> flag may update repositories for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to update</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to update</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="meta" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand meta"><span class="property-name">meta</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">object</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->RepositoryMeta<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="state" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">state</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->RepositoryState<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"listed"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"unlisted"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully updated repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully updated repository</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">403<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="put" class="sc-txhaY fzqXJO http-verb put">put</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2a9qq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2a9qq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2a9qq:0" aria-labelledby="tab:R2a9qq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"listed"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2e9qq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2e9qq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2e9qq:0" aria-labelledby="tab:R2e9qq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"listed"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_mode"</span>: <span class="token string">"open"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"featured"</span>: <span class="token number">1</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"primary_mirror"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"mirrors"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"property1"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"property2"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"published"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/delete" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/delete" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/delete" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/delete"></a>Disable an existing repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Disables an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are disabling the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are disabling the repository for.</p>
<p>Users with the <code>admin</code> flag may disable repositories for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Disables an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are disabling the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are disabling the repository for.</p>
<p>Users with the <code>admin</code> flag may disable repositories for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to disable</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to disable</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully disabled repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully disabled repository</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">403<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="delete" class="sc-txhaY gtVIQH http-verb delete">delete</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eaaq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eaaq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eaaq:0" aria-labelledby="tab:R2eaaq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"listed"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_mode"</span>: <span class="token string">"open"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"featured"</span>: <span class="token number">1</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"primary_mirror"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"mirrors"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"property1"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"property2"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"published"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/get" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/get" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}/get"></a>Get an existing repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are retrieving the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are retrieving the repository from.</p>
<p>Users with the <code>admin</code> flag may retrieve repositories for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves an existing repository for the specified account.
For user accounts, you must be authenticated as the user account you are retrieving the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are retrieving the repository from.</p>
<p>Users with the <code>admin</code> flag may retrieve repositories for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to retrieve</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to retrieve</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved repository</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">403<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2eaqq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2eaqq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2eaqq:0" aria-labelledby="tab:R2eaqq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"listed"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_mode"</span>: <span class="token string">"open"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"featured"</span>: <span class="token number">1</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"primary_mirror"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"mirrors"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"property1"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"property2"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"published"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/post" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/post"></a>Invite a new member to a repository.<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization or repository you are inviting the member to.
Users with the <code>admin</code> flag may invite users to any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Invites a new member to the specified repository. For user accounts, you must be authenticated as the user account you are inviting the member to. For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member of the organization or repository you are inviting the member to.
Users with the <code>admin</code> flag may invite users to any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to invite the member to</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to invite the member to</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="role" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">role</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->MembershipRole<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"owners"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"maintainers"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"read_data"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"write_data"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully invited member</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully invited member</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="<p>Bad request - Invalid request body or member already invited/exists</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Bad request - Invalid request body or member already invited/exists</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2abaq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2abaq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2abaq:0" aria-labelledby="tab:R2abaq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ebaq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ebaq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ebaq:0" aria-labelledby="tab:R2ebaq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/get" aria-label="tag/Repositories/paths/~1repositories~1{account_id}~1{repository_id}~1members/get"></a>List the memberships for a repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization or repository you are listing memberships for.</p>
<p>Users with the <code>admin</code> flag may list memberships for any repository.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Retrieves all memberships associated with the specified repository.
For user accounts, you must be authenticated as the user account you are listing memberships for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization or repository you are listing memberships for.</p>
<p>Users with the <code>admin</code> flag may list memberships for any repository.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account that owns the repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account that owns the repository</p>
</div></div></div></td></tr><tr class="last "><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the repository to list memberships for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the repository to list memberships for</p>
</div></div></div></td></tr></tbody></table></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully retrieved memberships</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully retrieved memberships</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="<p>Unauthorized - No valid session found or insufficient permissions</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Unauthorized - No valid session found or insufficient permissions</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="<p>Not Found - Repository not found</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Not Found - Repository not found</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="<p>Internal server error</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Internal server error</p>
</div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="get" class="sc-txhaY IVbnb http-verb get">get</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}/{repository_id}/members</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}/{repository_id}/members</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ebqq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ebqq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ebqq:0" aria-labelledby="tab:R2ebqq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">[</span><span class="ellipsis"></span><ul class="array collapsible"><li><div class="hoverable "><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"membership_id"</span>: <span class="token string">"00000000-0000-0000-0000-000000000000"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"account_id"</span>: <span class="token string">"account-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"membership_account_id"</span>: <span class="token string">"organization-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"repository_id"</span>: <span class="token string">"repository-id"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"role"</span>: <span class="token string">"owners"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state"</span>: <span class="token string">"invited"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"state_changed"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">]</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Repositories/paths/~1repositories~1{account_id}/post" data-section-id="tag/Repositories/paths/~1repositories~1{account_id}/post" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Repositories/paths/~1repositories~1{account_id}/post" aria-label="tag/Repositories/paths/~1repositories~1{account_id}/post"></a>Create a new repository<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Creates a new repository for the specified account.
For user accounts, you must be authenticated as the user account you are creating the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are creating the repository for.</p>
<p>Users with the <code>admin</code> flag may create repositories for any account.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Creates a new repository for the specified account.
For user accounts, you must be authenticated as the user account you are creating the repository for.
For organization accounts, you must be authenticated as either an <code>owners</code> or <code>maintainers</code> member for the organization you are creating the repository for.</p>
<p>Users with the <code>admin</code> flag may create repositories for any account.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h5 class="sc-dpBQxM eJAAZj">path<!-- --> Parameters</h5><table class="sc-dprtRQ eNFxPe"><tbody><tr class="last "><td kind="field" title="account_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">account_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span></div> <div><div html="<p>The ID of the account to create the repository for</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>The ID of the account to create the repository for</p>
</div></div></div></td></tr></tbody></table></div><h5 class="sc-dpBQxM eJAAZj">Request Body schema: <span class="sc-dhCplO khtVmz">application/json</span><div class="sc-CNKsk sc-hGZxvd sc-kLJHhQ hPAOR feFoaC fRACBr">required</div></h5><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"></div><table class="sc-dprtRQ eNFxPe"><tbody><tr class=""><td kind="field" title="repository_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">repository_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="data_mode" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_mode</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->RepositoryDataMode<!-- -->) </span></div><div><span class="sc-CNKsk hPAOR"> <!-- -->Enum<!-- -->:</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"open"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"subscription"</span> <span class="sc-CNKsk sc-cSzYSJ hPAOR YZnqP">"private"</span> </div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class=""><td kind="field" title="meta" class="sc-ovuCP sc-eauhAA sc-hsfCcR iyKqKI iQpMVv buGHPE"><span class="sc-gQaihK kPDxnK"></span><button aria-label="expand meta"><span class="property-name">meta</span><svg class="sc-cHqXqK ccTkAM" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">object</span><span class="sc-CNKsk sc-gcfzXs hPAOR dnQByT"> (<!-- -->RepositoryMeta<!-- -->) </span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr><tr class="last "><td kind="field" title="data_connection_id" class="sc-ovuCP sc-eauhAA iyKqKI iQpMVv"><span class="sc-gQaihK kPDxnK"></span><span class="property-name">data_connection_id</span><div class="sc-CNKsk sc-hGZxvd hPAOR feFoaC">required</div></td><td class="sc-fFoeYl cHXoZJ"><div><div><span class="sc-CNKsk sc-cqgMZH hPAOR dWKYKL"></span><span class="sc-CNKsk sc-gQkENW hPAOR bIEFFi">string</span><span> <span class="sc-CNKsk sc-fIfZzT hPAOR diHVZf"> <!-- -->[ 3 .. 40 ] characters<!-- --> </span></span><span class="sc-CNKsk sc-bnGbuY hPAOR hCJxj">^[a-z0-9](?:(?!--)[a-z0-9-])*[a-z0-9]$</span></div> <div><div html="" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"></div></div></div></td></tr></tbody></table><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Successfully created repository</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Successfully created repository</p>
</div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">400<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">401<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">403<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">404<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div><div><button class="sc-gohMHu ktPKSm" disabled=""><strong class="sc-bKXUjo beMorW">500<!-- --> </strong><div html="" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"></div></button></div></div></div><div class="sc-ivxoEo sc-ghWlax gOjFGl oECKJ"><div class="sc-duWCru dWZoid"><button class="sc-iPHsxv ebcgbH"><span type="post" class="sc-txhaY cpnVKx http-verb post">post</span><span class="sc-etPtWW iqHzp">/repositories/{account_id}</span><svg class="sc-cHqXqK fmmJjS" style="margin-right:-25px" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></button><div aria-hidden="true" class="sc-ePpfBx ddApzj"><div class="sc-dwGkES evaCJX"><div html="<p>Source Cooperative</p>
" class="sc-epnzzT sc-eMwmJz drsioI ewnBNs"><p>Source Cooperative</p>
</div><div tabindex="0" role="button"><div class="sc-hSyjfr gufODt"><span>https://source.coop/api/v1</span>/repositories/{account_id}</div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Request samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="react-tabs__tab react-tabs__tab--selected" role="tab" id="tab:R2acaq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2acaq:0" tabindex="0" data-rttab="true">Payload</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2acaq:0" aria-labelledby="tab:R2acaq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_mode"</span>: <span class="token string">"open"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_connection_id"</span>: <span class="token string">"data-connection-id"</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div><div><h3 class="sc-keTIit zvQzH"> <!-- -->Response samples<!-- --> </h3><div class="sc-bMTdWJ fbQvpV" data-rttabs="true"><ul class="react-tabs__tab-list" role="tablist"><li class="tab-success react-tabs__tab--selected" role="tab" id="tab:R2ecaq:0" aria-selected="true" aria-disabled="false" aria-controls="panel:R2ecaq:0" tabindex="0" data-rttab="true">200</li></ul><div class="react-tabs__tab-panel react-tabs__tab-panel--selected" role="tabpanel" id="panel:R2ecaq:0" aria-labelledby="tab:R2ecaq:0"><div><div class="sc-Rjrgp dIDLbO"><span class="sc-fufdwm eqWzJe">Content type</span><div class="sc-UblHX kKXAng">application/json</div></div><div class="sc-FFETS kqHNPM"><div class="sc-eDHQDy mMhCU"><div class="sc-uYFMi hhzNne"><button><div class="sc-eWPXlR ezdXRP">Copy</div></button><button> Expand all </button><button> Collapse all </button></div><div class="sc-epnzzT drsioI sc-giBObj iyEpFV"><div class="redoc-json"><code><button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable "><span class="property token string">"account_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"repository_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"state"</span>: <span class="token string">"listed"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data_mode"</span>: <span class="token string">"open"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"featured"</span>: <span class="token number">1</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"meta"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"title"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"description"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"tags"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"data"</span>: <button class="collapser" aria-label="collapse"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"primary_mirror"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"mirrors"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"property1"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"property2"</span>: <button class="collapser" aria-label="expand"></button><span class="token punctuation">{</span><span class="ellipsis"></span><ul class="obj collapsible"><li><div class="hoverable collapsed"><span class="property token string">"data_connection_id"</span>: <span class="token string">"string"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable collapsed"><span class="property token string">"prefix"</span>: <span class="token string">"string"</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span></div></li></ul><span class="token punctuation">}</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"published"</span>: <span class="token string">"2019-08-24T14:15:22Z"</span><span class="token punctuation">,</span></div></li><li><div class="hoverable "><span class="property token string">"disabled"</span>: <span class="token boolean">true</span></div></li></ul><span class="token punctuation">}</span></code></div></div></div></div></div></div></div></div></div></div></div><div id="tag/Authentication" data-section-id="tag/Authentication" class="sc-dntaoT bvhSud"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Authentication" aria-label="tag/Authentication"></a>Authentication</h2></div></div></div><div id="tag/Authentication/paths/~1whoami/get" data-section-id="tag/Authentication/paths/~1whoami/get" class="sc-dntaoT aYCdu"><div class="sc-kLhKbu dECWTf"><div class="sc-fAUdSK dFrZq"><h2 class="sc-khLCKb wHiQv"><a class="sc-jwIPbr hbTOAm" href="#tag/Authentication/paths/~1whoami/get" aria-label="tag/Authentication/paths/~1whoami/get"></a>Get the current user's session information. If the<!-- --> </h2><div class="sc-fantwC exRUVh"><div html="<p>Get the current user&#39;s session information. If the user is authenticated but has not created an account, the account field will be null. If the user is not authenticated, a <code>401 - Unauthorized</code> response will be returned. This endpoint can be used to list all of the authenticated user&#39;s memberships.</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK"><p>Get the current user's session information. If the user is authenticated but has not created an account, the account field will be null. If the user is not authenticated, a <code>401 - Unauthorized</code> response will be returned. This endpoint can be used to list all of the authenticated user's memberships.</p>
</div></div><div class="sc-hGNhLO dyzdIR"><div class="sc-jWJSSj jXOga-d"><h5 class="sc-dpBQxM sc-khdDuB eJAAZj ffSXYc">Authorizations:</h5><svg class="sc-cHqXqK bEpxpV" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg></div><div class="sc-iCjFWQ gQOXJB"><span class="sc-irPVuy eqXCjK"><span class="sc-bqvdXA dIXVzO"><i>ApiKeyAuth</i></span></span></div></div><div><h3 class="sc-edsqmr dheqgt">Responses</h3><div><button class="sc-gohMHu cnBopK"><svg class="sc-cHqXqK hmCwJW" version="1.1" viewBox="0 0 24 24" x="0" xmlns="http://www.w3.org/2000/svg" y="0" aria-hidden="true"><polygon points="17.3 8.3 12 13.6 6.7 8.3 5.3 9.7 12 16.4 18.7 9.7 "></polygon></svg><strong class="sc-bKXUjo beMorW">200<!-- --> </strong><div html="<p>Returns the user session data</p>
" class="sc-epnzzT sc-eMwmJz drsioI dWZUhK sc-drVZOg jtjIAv"><p>Returns the user session data</p>