Skip to content

Commit

Permalink
Update API pages with v0.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
netbirddev committed Dec 23, 2024
1 parent bf2c616 commit 81001b5
Show file tree
Hide file tree
Showing 5 changed files with 3,934 additions and 26 deletions.
16 changes: 16 additions & 0 deletions src/pages/ipa/resources/accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ echo $response;
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand All @@ -198,6 +199,7 @@ echo $response;
"jwt_allow_groups": [
"string"
],
"routing_peer_dns_resolution_enabled": "boolean",
"extra": {
"peer_approval_enabled": "boolean"
}
Expand Down Expand Up @@ -444,6 +446,11 @@ echo $response;
List of groups to which users are allowed access
</Property>
<Property name="routing_peer_dns_resolution_enabled" type="boolean" required={false}>
Enables or disables DNS resolution on the routing peers
</Property>
<Property name="extra" type="object" required={false}>
Expand Down Expand Up @@ -493,6 +500,7 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand All @@ -515,6 +523,7 @@ let data = JSON.stringify({
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand Down Expand Up @@ -559,6 +568,7 @@ payload = json.dumps({
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand Down Expand Up @@ -603,6 +613,7 @@ func main() {
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand Down Expand Up @@ -665,6 +676,7 @@ request.body = JSON.dump({
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand All @@ -691,6 +703,7 @@ RequestBody body = RequestBody.create(mediaType, '{
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand Down Expand Up @@ -733,6 +746,7 @@ curl_setopt_array($curl, array(
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand Down Expand Up @@ -770,6 +784,7 @@ echo $response;
"jwt_allow_groups": [
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"extra": {
"peer_approval_enabled": true
}
Expand All @@ -791,6 +806,7 @@ echo $response;
"jwt_allow_groups": [
"string"
],
"routing_peer_dns_resolution_enabled": "boolean",
"extra": {
"peer_approval_enabled": "boolean"
}
Expand Down
Loading

0 comments on commit 81001b5

Please sign in to comment.