diff --git a/README.md b/README.md
index 78bfd8e7..fc97d354 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,6 @@ $ npm run dev
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
-
## Contributing to the docs
You can click the **Fork** button in the upper-right area of the screen to create a copy of this repository in your GitHub account. This copy is called a _fork_. Make any changes you want in your fork, and when you are ready to send those changes to us, go to your fork and create a new pull request to let us know about it.
diff --git a/src/pages/ipa/resources/setup-keys.mdx b/src/pages/ipa/resources/setup-keys.mdx
index 3ddeab84..17402080 100644
--- a/src/pages/ipa/resources/setup-keys.mdx
+++ b/src/pages/ipa/resources/setup-keys.mdx
@@ -177,7 +177,8 @@ echo $response;
"devs"
],
"updated_at": "2023-05-05T09:00:35.477782Z",
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}
]
```
@@ -198,7 +199,8 @@ echo $response;
"string"
],
"updated_at": "string",
- "usage_limit": "integer"
+ "usage_limit": "integer",
+ "ephemeral": "boolean"
}
]
```
@@ -267,6 +269,13 @@ echo $response;
>
A number of times this key can be used. The value of 0 indicates the unlimited usage.
+
+
+
+ Indicate that the peer will be ephemeral or not
@@ -286,7 +295,8 @@ curl -X POST https://api.netbird.io/api/setup-keys \
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}'
```
@@ -300,7 +310,8 @@ let data = JSON.stringify({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
});
let config = {
method: 'post',
@@ -336,7 +347,8 @@ payload = json.dumps({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
})
headers: {
'Content-Type': 'application/json',
@@ -372,7 +384,8 @@ func main() {
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}`)
client := &http.Client {
}
@@ -426,7 +439,8 @@ request.body = JSON.dump({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
})
response = https.request(request)
puts response.read_body
@@ -444,7 +458,8 @@ RequestBody body = RequestBody.create(mediaType, '{
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}');
Request request = new Request.Builder()
.url("https://api.netbird.io/api/setup-keys")
@@ -478,7 +493,8 @@ curl_setopt_array($curl, array(
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
@@ -514,7 +530,8 @@ echo $response;
"devs"
],
"updated_at": "2023-05-05T09:00:35.477782Z",
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}
```
```json {{ title: 'Schema' }}
@@ -533,7 +550,8 @@ echo $response;
"string"
],
"updated_at": "string",
- "usage_limit": "integer"
+ "usage_limit": "integer",
+ "ephemeral": "boolean"
}
```
@@ -730,7 +748,8 @@ echo $response;
"devs"
],
"updated_at": "2023-05-05T09:00:35.477782Z",
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}
```
```json {{ title: 'Schema' }}
@@ -749,7 +768,8 @@ echo $response;
"string"
],
"updated_at": "string",
- "usage_limit": "integer"
+ "usage_limit": "integer",
+ "ephemeral": "boolean"
}
```
@@ -825,6 +845,13 @@ echo $response;
>
A number of times this key can be used. The value of 0 indicates the unlimited usage.
+
+
+
+ Indicate that the peer will be ephemeral or not
@@ -844,7 +871,8 @@ curl -X PUT https://api.netbird.io/api/setup-keys/{keyId} \
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}'
```
@@ -858,7 +886,8 @@ let data = JSON.stringify({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
});
let config = {
method: 'put',
@@ -894,7 +923,8 @@ payload = json.dumps({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
})
headers: {
'Content-Type': 'application/json',
@@ -930,7 +960,8 @@ func main() {
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}`)
client := &http.Client {
}
@@ -984,7 +1015,8 @@ request.body = JSON.dump({
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
})
response = https.request(request)
puts response.read_body
@@ -1002,7 +1034,8 @@ RequestBody body = RequestBody.create(mediaType, '{
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}');
Request request = new Request.Builder()
.url("https://api.netbird.io/api/setup-keys/{keyId}")
@@ -1036,7 +1069,8 @@ curl_setopt_array($curl, array(
"auto_groups": [
"devs"
],
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
@@ -1072,7 +1106,8 @@ echo $response;
"devs"
],
"updated_at": "2023-05-05T09:00:35.477782Z",
- "usage_limit": 0
+ "usage_limit": 0,
+ "ephemeral": true
}
```
```json {{ title: 'Schema' }}
@@ -1091,7 +1126,8 @@ echo $response;
"string"
],
"updated_at": "string",
- "usage_limit": "integer"
+ "usage_limit": "integer",
+ "ephemeral": "boolean"
}
```
diff --git a/src/pages/ipa/resources/users.mdx b/src/pages/ipa/resources/users.mdx
index b6337704..e0105f5f 100644
--- a/src/pages/ipa/resources/users.mdx
+++ b/src/pages/ipa/resources/users.mdx
@@ -176,6 +176,7 @@ echo $response;
"name": "Tom Schulz",
"role": "admin",
"status": "active",
+ "last_login": "2023-05-05T09:00:35.477782Z",
"auto_groups": [
"devs"
],
@@ -193,6 +194,7 @@ echo $response;
"name": "string",
"role": "string",
"status": "string",
+ "last_login": "string",
"auto_groups": [
"string"
],
@@ -487,6 +489,7 @@ echo $response;
"name": "Tom Schulz",
"role": "admin",
"status": "active",
+ "last_login": "2023-05-05T09:00:35.477782Z",
"auto_groups": [
"devs"
],
@@ -502,6 +505,7 @@ echo $response;
"name": "string",
"role": "string",
"status": "string",
+ "last_login": "string",
"auto_groups": [
"string"
],
@@ -775,6 +779,7 @@ echo $response;
"name": "Tom Schulz",
"role": "admin",
"status": "active",
+ "last_login": "2023-05-05T09:00:35.477782Z",
"auto_groups": [
"devs"
],
@@ -790,6 +795,7 @@ echo $response;
"name": "string",
"role": "string",
"status": "string",
+ "last_login": "string",
"auto_groups": [
"string"
],