From b712d8708b8851f3905c93c64cbee57eb02e2b79 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Wed, 22 May 2024 15:01:25 -0700 Subject: [PATCH] docs: Update authorization-token.md (#2896) * docs: Update authorization-token.md * chore: fix example --- README.md | 2 +- .../user-management/authentication/authorization-token.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d8aea39fad..589b54706c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To contribute, we recommend having the following software installed locally on y - git configured and access to github repository -- Node.js v18 and npm. +- Node.js v20 and npm. - [Vale](https://vale.sh/docs/vale-cli/installation/) diff --git a/docs/docs-content/user-management/authentication/authorization-token.md b/docs/docs-content/user-management/authentication/authorization-token.md index 8a485aee70..70b251c5ff 100644 --- a/docs/docs-content/user-management/authentication/authorization-token.md +++ b/docs/docs-content/user-management/authentication/authorization-token.md @@ -18,9 +18,9 @@ TOKEN=abcd1234 ``` ```bash -curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alert' \ ---header 'Authorization: $TOKEN' \ ---header 'Content-Type: application/json' +curl --location --request GET 'https://api.spectrocloud.com/v1/projects/alerts' \ +--header "Authorization: $TOKEN" \ +--header "Content-Type: application/json" ``` To refresh the authorization token, use the `v1/auth/refresh` endpoint with a GET request.