From 8f9fe5693b4d0325bc7e8121343ea7c9d8e1fe0b Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 3 Mar 2025 23:57:59 -0600 Subject: [PATCH] docs: update API authentication example to use x-api-key header --- apps/docs/content/docs/api/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/api/index.mdx b/apps/docs/content/docs/api/index.mdx index 2303d3a..e97237e 100644 --- a/apps/docs/content/docs/api/index.mdx +++ b/apps/docs/content/docs/api/index.mdx @@ -34,7 +34,7 @@ Let's take a example of authenticated request: curl -X 'GET' \ 'https://dokploy.com/api/project.all' \ -H 'accept: application/json' - -H 'Authorization: Bearer YOUR-TOKEN' + -H 'x-api-key: YOUR-GENERATED-API-KEY' ``` then you will get the something like this: