diff --git a/src/pages/ipa/guides/authentication.mdx b/src/pages/ipa/guides/authentication.mdx index 03fd3b7c..b8c6c7a3 100644 --- a/src/pages/ipa/guides/authentication.mdx +++ b/src/pages/ipa/guides/authentication.mdx @@ -18,7 +18,7 @@ Always keep your token safe and reset it if you suspect it has been compromised. ## Using personal access tokens -When establishing a connection using [PATs](/docs/how-to/use-service-users-with-access-token#personal-access-tokens), you will need your access token — you can create one in the [Netbird dashboard](https://app.netbird.io/users) under User settings. It is recommended to use [service users](/docs/how-to/use-service-users-with-access-token#service-users) for all organization wide flows calling the API. Here's how to add the token to the request header using cURL: +When establishing a connection using [PATs](/docs/how-to/access-netbird-public-api), you will need your access token — you can create one in the [Netbird dashboard](https://app.netbird.io/users) under User settings. It is recommended to use [service users](/docs/how-to/access-netbird-public-api) for all organization wide flows calling the API. Here's how to add the token to the request header using cURL: ```bash {{ title: 'Example request with personal access token' }} curl https://api.netbird.io/api/users \ diff --git a/src/pages/ipa/introductions.mdx b/src/pages/ipa/introductions.mdx index d1588de7..1e5a9e1a 100644 --- a/src/pages/ipa/introductions.mdx +++ b/src/pages/ipa/introductions.mdx @@ -15,7 +15,7 @@ Use the NetBird Public API to manage users, peers, network rules and more from i ## Getting started {{ anchor: false }} To get started, it is recommended to create a [service user](/docs/how-to/use-service-users-with-access-token#service-users), that can later be used to communicate with the NetBird API. -To be able to send requests to our API you need to [authenticate](/ipa/guides/authentication) on each request. This can be done either by Bearer token from your identity provider or by creating a [personal access token](/docs/how-to/use-service-users-with-access-token#personal-access-tokens) in the NetBird dashboard.{{ className: 'lead' }} +To be able to send requests to our API you need to [authenticate](/ipa/guides/authentication) on each request. This can be done either by Bearer token from your identity provider or by creating a [personal access token](/ipa/guides/authentication#using-personal-access-tokens) in the NetBird dashboard.{{ className: 'lead' }}