From 1ff66a5be7aa058c21831486c6e401671085857d Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Wed, 22 May 2024 15:35:32 -0700 Subject: [PATCH] docs: Update authorization-token.md (#2896) (#2899) * 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 73d96861f7..c0ea9ad096 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 and npm (optional) +- 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.