Skip to content

Commit 76ef658

Browse files
authored
fix: api key header (#137)
* api key header * doc fix
1 parent fa11ac0 commit 76ef658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/build/api/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The API enables you to:
2828

2929
### Authentication
3030

31-
All Fluence API endpoints require an API key sent as a Bearer token in the `Authorization` header.
31+
All Fluence API endpoints require an API key sent in the `X-API-KEY` header.
3232
You can create and manage your keys in the [Fluence Console settings guide](../settings/settings.md). If you omit or supply an invalid key, you’ll get a 403 code error.
3333

3434
### Request and response format
@@ -40,7 +40,7 @@ The Fluence API accepts and returns data in JSON format. When making POST reques
4040
```bash
4141
curl -i -X POST https://api.fluence.dev/marketplace/offers \
4242
-H "Content-Type: application/json" \
43-
-H "Authorization: Bearer <YOUR_API_KEY>" \
43+
-H "X-API-KEY: <YOUR_API_KEY>" \
4444
-d '{
4545
"basicConfiguration": "cpu-4-ram-8gb-storage-25gb"
4646
}'

0 commit comments

Comments
 (0)