Skip to main content
POST
/
applications
/
deployments
Manually deploy an application
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
app_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

branch
string
Example:

"main"

docker_image
string
Example:

"myimage:v2"

is_restart
boolean
default:false

Set true if you want to release without building your app.

Example:

false

Response

Deployment created successfully

deployment
object
required
I