docs: update API authentication example to use x-api-key header

This commit is contained in:
Mauricio Siu
2025-03-03 23:57:59 -06:00
parent a64115209e
commit 8f9fe5693b

View File

@@ -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: