Skip to content

Commit 81001b5

Browse files
author
netbirddev
committed
Update API pages with v0.35.0
1 parent bf2c616 commit 81001b5

File tree

5 files changed

+3934
-26
lines changed

5 files changed

+3934
-26
lines changed

src/pages/ipa/resources/accounts.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ echo $response;
175175
"jwt_allow_groups": [
176176
"Administrators"
177177
],
178+
"routing_peer_dns_resolution_enabled": true,
178179
"extra": {
179180
"peer_approval_enabled": true
180181
}
@@ -198,6 +199,7 @@ echo $response;
198199
"jwt_allow_groups": [
199200
"string"
200201
],
202+
"routing_peer_dns_resolution_enabled": "boolean",
201203
"extra": {
202204
"peer_approval_enabled": "boolean"
203205
}
@@ -444,6 +446,11 @@ echo $response;
444446
445447
List of groups to which users are allowed access
446448
449+
</Property>
450+
<Property name="routing_peer_dns_resolution_enabled" type="boolean" required={false}>
451+
452+
Enables or disables DNS resolution on the routing peers
453+
447454
</Property>
448455
<Property name="extra" type="object" required={false}>
449456
@@ -493,6 +500,7 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
493500
"jwt_allow_groups": [
494501
"Administrators"
495502
],
503+
"routing_peer_dns_resolution_enabled": true,
496504
"extra": {
497505
"peer_approval_enabled": true
498506
}
@@ -515,6 +523,7 @@ let data = JSON.stringify({
515523
"jwt_allow_groups": [
516524
"Administrators"
517525
],
526+
"routing_peer_dns_resolution_enabled": true,
518527
"extra": {
519528
"peer_approval_enabled": true
520529
}
@@ -559,6 +568,7 @@ payload = json.dumps({
559568
"jwt_allow_groups": [
560569
"Administrators"
561570
],
571+
"routing_peer_dns_resolution_enabled": true,
562572
"extra": {
563573
"peer_approval_enabled": true
564574
}
@@ -603,6 +613,7 @@ func main() {
603613
"jwt_allow_groups": [
604614
"Administrators"
605615
],
616+
"routing_peer_dns_resolution_enabled": true,
606617
"extra": {
607618
"peer_approval_enabled": true
608619
}
@@ -665,6 +676,7 @@ request.body = JSON.dump({
665676
"jwt_allow_groups": [
666677
"Administrators"
667678
],
679+
"routing_peer_dns_resolution_enabled": true,
668680
"extra": {
669681
"peer_approval_enabled": true
670682
}
@@ -691,6 +703,7 @@ RequestBody body = RequestBody.create(mediaType, '{
691703
"jwt_allow_groups": [
692704
"Administrators"
693705
],
706+
"routing_peer_dns_resolution_enabled": true,
694707
"extra": {
695708
"peer_approval_enabled": true
696709
}
@@ -733,6 +746,7 @@ curl_setopt_array($curl, array(
733746
"jwt_allow_groups": [
734747
"Administrators"
735748
],
749+
"routing_peer_dns_resolution_enabled": true,
736750
"extra": {
737751
"peer_approval_enabled": true
738752
}
@@ -770,6 +784,7 @@ echo $response;
770784
"jwt_allow_groups": [
771785
"Administrators"
772786
],
787+
"routing_peer_dns_resolution_enabled": true,
773788
"extra": {
774789
"peer_approval_enabled": true
775790
}
@@ -791,6 +806,7 @@ echo $response;
791806
"jwt_allow_groups": [
792807
"string"
793808
],
809+
"routing_peer_dns_resolution_enabled": "boolean",
794810
"extra": {
795811
"peer_approval_enabled": "boolean"
796812
}

0 commit comments

Comments
 (0)