From 4f34fa5feeb95b10d43ae2d1c4f91c4762051c7e Mon Sep 17 00:00:00 2001 From: netbirddev Date: Fri, 4 Jul 2025 19:15:29 +0000 Subject: [PATCH] Update API pages with v0.50.0 --- src/pages/ipa/resources/accounts.mdx | 74 ++++++++++++++++++++++++++-- 1 file changed, 70 insertions(+), 4 deletions(-) diff --git a/src/pages/ipa/resources/accounts.mdx b/src/pages/ipa/resources/accounts.mdx index de38498e..fcd770f6 100644 --- a/src/pages/ipa/resources/accounts.mdx +++ b/src/pages/ipa/resources/accounts.mdx @@ -187,7 +187,11 @@ echo $response; "domain": "netbird.io", "domain_category": "private", "created_at": "2023-05-05T09:00:35.477782Z", - "created_by": "google-oauth2|277474792786460067937" + "created_by": "google-oauth2|277474792786460067937", + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false + } } ] ``` @@ -219,7 +223,11 @@ echo $response; "domain": "string", "domain_category": "string", "created_at": "string", - "created_by": "string" + "created_by": "string", + "onboarding": { + "signup_form_pending": "boolean", + "onboarding_flow_pending": "boolean" + } } ] ``` @@ -510,6 +518,28 @@ echo $response; + + + +
+ More Information + + + + + Indicates whether the account signup form is pending + + + + + Indicates whether the account onboarding flow is pending + + + + + +
+
@@ -544,6 +574,10 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \ "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }' ``` @@ -571,6 +605,10 @@ let data = JSON.stringify({ "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }); let config = { @@ -620,6 +658,10 @@ payload = json.dumps({ "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }) headers = { @@ -669,6 +711,10 @@ func main() { "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }`) client := &http.Client { @@ -736,6 +782,10 @@ request.body = JSON.dump({ "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }) response = https.request(request) @@ -767,6 +817,10 @@ RequestBody body = RequestBody.create(mediaType, '{ "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }'); Request request = new Request.Builder() @@ -814,6 +868,10 @@ curl_setopt_array($curl, array( "network_traffic_packet_counter_enabled": true }, "lazy_connection_enabled": true + }, + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false } }', CURLOPT_HTTPHEADER => array( @@ -860,7 +918,11 @@ echo $response; "domain": "netbird.io", "domain_category": "private", "created_at": "2023-05-05T09:00:35.477782Z", - "created_by": "google-oauth2|277474792786460067937" + "created_by": "google-oauth2|277474792786460067937", + "onboarding": { + "signup_form_pending": true, + "onboarding_flow_pending": false + } } ``` ```json {{ title: 'Schema' }} @@ -890,7 +952,11 @@ echo $response; "domain": "string", "domain_category": "string", "created_at": "string", - "created_by": "string" + "created_by": "string", + "onboarding": { + "signup_form_pending": "boolean", + "onboarding_flow_pending": "boolean" + } } ```