@@ -35,7 +35,7 @@ The Cloud Function API provides an interface for developers to deploy, manage, a
35
35
36
36
``` sh
37
37
curl --location --request POST " https://api.apillon.io/cloud-functions" \
38
- --header " Authorization: Bearer :credentials" \
38
+ --header " Authorization: Basic :credentials" \
39
39
--header " Content-Type: application/json" \
40
40
--data-raw " {
41
41
\" name\" : \" My Cloud Function\" ,
@@ -104,7 +104,7 @@ All query parameters from [listing request](1-apillon-api.md#listing-requests)
104
104
105
105
``` sh
106
106
curl --location --request GET " https://api.apillon.io/cloud-functions?project_uuid=abc123-project" \
107
- --header " Authorization: Bearer :credentials"
107
+ --header " Authorization: Basic :credentials"
108
108
```
109
109
110
110
</CodeGroupItem >
@@ -188,7 +188,7 @@ curl --location --request GET "https://api.apillon.io/cloud-functions?project_uu
188
188
189
189
``` sh
190
190
curl --location --request GET " https://api.apillon.io/cloud-functions/d1e8b9f2-4d18-4ef7-9f59-87348590d5a6" \
191
- --header " Authorization: Bearer :credentials"
191
+ --header " Authorization: Basic :credentials"
192
192
```
193
193
194
194
</CodeGroupItem >
@@ -279,7 +279,7 @@ If it does not contain the boilerplate code, the deployment will not be accessib
279
279
280
280
``` sh
281
281
curl --location --request POST " https://api.apillon.io/cloud-functions/d1e8b9f2-4d18-4ef7-9f59-87348590d5a6/jobs" \
282
- --header " Authorization: Bearer :credentials" \
282
+ --header " Authorization: Basic :credentials" \
283
283
--header " Content-Type: application/json" \
284
284
--data-raw " {
285
285
\" name\" : \" Price fetcher\" ,
@@ -353,7 +353,7 @@ curl --location --request POST "https://api.apillon.io/cloud-functions/d1e8b9f2-
353
353
354
354
` ` ` sh
355
355
curl --location --request POST " https://api.apillon.io/cloud-functions/d1e8b9f2-4d18-4ef7-9f59-87348590d5a6/environment" \
356
- --header " Authorization: Bearer :credentials" \
356
+ --header " Authorization: Basic :credentials" \
357
357
--header " Content-Type: application/json" \
358
358
--data-raw " {
359
359
\" variables\" : [{ \" key\" : \" API_KEY\" , \" value\" : \" 12345\" }]
@@ -413,7 +413,7 @@ curl --location --request POST "https://api.apillon.io/cloud-functions/d1e8b9f2-
413
413
414
414
` ` ` sh
415
415
curl --location --request DELETE " https://api.apillon.io/cloud-functions/jobs/e3c86bb2-4190-4bda-9c8a-3852b6d04971" \
416
- --header " Authorization: Bearer :credentials"
416
+ --header " Authorization: Basic :credentials"
417
417
` ` `
418
418
419
419
< /CodeGroupItem>
0 commit comments