mirror of
https://github.com/Dokploy/website.git
synced 2026-06-18 21:55:26 +02:00
docs: update API authentication method in auto-deploy documentation
This commit is contained in:
@@ -89,7 +89,7 @@ Steps:
|
||||
curl -X 'GET' \
|
||||
'https://your-domain/api/project.all' \
|
||||
-H 'accept: application/json'
|
||||
-H 'Authorization: Bearer <token>'
|
||||
-H 'x-api-key: <token>'
|
||||
```
|
||||
|
||||
This command lists all projects and services. Identify the applicationId for the application you wish to deploy.
|
||||
@@ -101,7 +101,7 @@ curl -X 'POST' \
|
||||
'https://your-domain/api/application.deploy' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'Authorization: Bearer <token>' \
|
||||
-H 'x-api-key: <token>' \
|
||||
-d '{
|
||||
"applicationId": "string"
|
||||
}'
|
||||
|
||||
Reference in New Issue
Block a user