cURL
curl --request POST \ --url https://api.sevalla.com/v2/applications/deployments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "app_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1", "branch": "main", "docker_image": "myimage:v2", "is_restart": false } '
{ "deployment": { "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1" } }
Start a new deployment for your application using this endpoint.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"54fb80af-576c-4fdc-ba4f-b596c83f15a1"
"main"
"myimage:v2"
Set true if you want to release without building your app.
false
Deployment created successfully
Show child attributes
Was this page helpful?