@@ -187,7 +187,11 @@ echo $response;
187
187
" domain" : " netbird.io" ,
188
188
" domain_category" : " private" ,
189
189
" created_at" : " 2023-05-05T09:00:35.477782Z" ,
190
- " created_by" : " google-oauth2|277474792786460067937"
190
+ " created_by" : " google-oauth2|277474792786460067937" ,
191
+ " onboarding" : {
192
+ " signup_form_pending" : true ,
193
+ " onboarding_flow_pending" : false
194
+ }
191
195
}
192
196
]
193
197
` ` `
@@ -219,7 +223,11 @@ echo $response;
219
223
" domain" : " string" ,
220
224
" domain_category" : " string" ,
221
225
" created_at" : " string" ,
222
- " created_by" : " string"
226
+ " created_by" : " string" ,
227
+ " onboarding" : {
228
+ " signup_form_pending" : " boolean" ,
229
+ " onboarding_flow_pending" : " boolean"
230
+ }
223
231
}
224
232
]
225
233
` ` `
@@ -510,6 +518,28 @@ echo $response;
510
518
</Properties>
511
519
</details>
512
520
521
+ </Property>
522
+ <Property name="onboarding" type="object" required={false}>
523
+
524
+ <details class="custom-details" open>
525
+ <summary>More Information</summary>
526
+ <Properties>
527
+
528
+ <Properties><Property name="signup_form_pending" type="boolean" required={true}>
529
+
530
+ Indicates whether the account signup form is pending
531
+
532
+ </Property>
533
+ <Property name="onboarding_flow_pending" type="boolean" required={true}>
534
+
535
+ Indicates whether the account onboarding flow is pending
536
+
537
+ </Property>
538
+ </Properties>
539
+
540
+ </Properties>
541
+ </details>
542
+
513
543
</Property>
514
544
</Properties>
515
545
@@ -544,6 +574,10 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
544
574
" network_traffic_packet_counter_enabled" : true
545
575
},
546
576
" lazy_connection_enabled" : true
577
+ },
578
+ " onboarding" : {
579
+ " signup_form_pending" : true ,
580
+ " onboarding_flow_pending" : false
547
581
}
548
582
}'
549
583
```
@@ -571,6 +605,10 @@ let data = JSON.stringify({
571
605
"network_traffic_packet_counter_enabled": true
572
606
},
573
607
"lazy_connection_enabled": true
608
+ },
609
+ "onboarding": {
610
+ "signup_form_pending": true,
611
+ "onboarding_flow_pending": false
574
612
}
575
613
});
576
614
let config = {
@@ -620,6 +658,10 @@ payload = json.dumps({
620
658
"network_traffic_packet_counter_enabled": true
621
659
},
622
660
"lazy_connection_enabled": true
661
+ },
662
+ "onboarding": {
663
+ "signup_form_pending": true,
664
+ "onboarding_flow_pending": false
623
665
}
624
666
})
625
667
headers = {
@@ -669,6 +711,10 @@ func main() {
669
711
"network_traffic_packet_counter_enabled": true
670
712
},
671
713
"lazy_connection_enabled": true
714
+ },
715
+ "onboarding": {
716
+ "signup_form_pending": true,
717
+ "onboarding_flow_pending": false
672
718
}
673
719
}`)
674
720
client := &http.Client {
@@ -736,6 +782,10 @@ request.body = JSON.dump({
736
782
"network_traffic_packet_counter_enabled": true
737
783
},
738
784
"lazy_connection_enabled": true
785
+ },
786
+ "onboarding": {
787
+ "signup_form_pending": true,
788
+ "onboarding_flow_pending": false
739
789
}
740
790
})
741
791
response = https.request(request)
@@ -767,6 +817,10 @@ RequestBody body = RequestBody.create(mediaType, '{
767
817
" network_traffic_packet_counter_enabled" : true
768
818
},
769
819
" lazy_connection_enabled" : true
820
+ },
821
+ " onboarding" : {
822
+ " signup_form_pending" : true ,
823
+ " onboarding_flow_pending" : false
770
824
}
771
825
}' );
772
826
Request request = new Request.Builder()
@@ -814,6 +868,10 @@ curl_setopt_array($curl, array(
814
868
"network_traffic_packet_counter_enabled": true
815
869
},
816
870
"lazy_connection_enabled": true
871
+ },
872
+ "onboarding": {
873
+ "signup_form_pending": true,
874
+ "onboarding_flow_pending": false
817
875
}
818
876
}' ,
819
877
CURLOPT_HTTPHEADER => array (
@@ -860,7 +918,11 @@ echo $response;
860
918
" domain" : " netbird.io" ,
861
919
" domain_category" : " private" ,
862
920
" created_at" : " 2023-05-05T09:00:35.477782Z" ,
863
- " created_by" : " google-oauth2|277474792786460067937"
921
+ " created_by" : " google-oauth2|277474792786460067937" ,
922
+ " onboarding" : {
923
+ " signup_form_pending" : true ,
924
+ " onboarding_flow_pending" : false
925
+ }
864
926
}
865
927
` ` `
866
928
` ` ` json {{ title: ' Schema' }}
@@ -890,7 +952,11 @@ echo $response;
890
952
" domain" : " string" ,
891
953
" domain_category" : " string" ,
892
954
" created_at" : " string" ,
893
- " created_by" : " string"
955
+ " created_by" : " string" ,
956
+ " onboarding" : {
957
+ " signup_form_pending" : " boolean" ,
958
+ " onboarding_flow_pending" : " boolean"
959
+ }
894
960
}
895
961
` ` `
896
962
</CodeGroup>
0 commit comments