Update API pages with v0.25.0

This commit is contained in:
netbirddev
2023-12-18 11:31:58 +00:00
parent 46ae38249c
commit d338df15a3

View File

@@ -170,6 +170,9 @@ echo $response;
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -187,6 +190,9 @@ echo $response;
"groups_propagation_enabled": "boolean",
"jwt_groups_enabled": "boolean",
"jwt_groups_claim_name": "string",
"jwt_allow_groups": [
"string"
],
"extra": {
"peer_approval_enabled": "boolean"
}
@@ -258,6 +264,13 @@ echo $response;
Name of the claim from which we extract groups names to add it to account groups.
</Property>
<Property name="jwt_allow_groups" type="string[]" required={false}
>
List of groups to which users are allowed access
</Property>
<Property name="peer_approval_enabled" type="boolean" required={false}
@@ -281,6 +294,9 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -297,6 +313,9 @@ let data = JSON.stringify({
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -335,6 +354,9 @@ payload = json.dumps({
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -373,6 +395,9 @@ func main() {
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -429,6 +454,9 @@ request.body = JSON.dump({
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -449,6 +477,9 @@ RequestBody body = RequestBody.create(mediaType, '{
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -485,6 +516,9 @@ curl_setopt_array($curl, array(
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -517,6 +551,9 @@ echo $response;
"groups_propagation_enabled": true,
"jwt_groups_enabled": true,
"jwt_groups_claim_name": "roles",
"jwt_allow_groups": [
"Administrators"
],
"extra": {
"peer_approval_enabled": true
}
@@ -532,6 +569,9 @@ echo $response;
"groups_propagation_enabled": "boolean",
"jwt_groups_enabled": "boolean",
"jwt_groups_claim_name": "string",
"jwt_allow_groups": [
"string"
],
"extra": {
"peer_approval_enabled": "boolean"
}