cURL
curl --request POST \ --url https://api.sevalla.com/v2/applications/deployments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "app_id": "fb5e5168-4281-4bec-94c5-0d1584e9e657", "branch": "main", "docker_image": "my-image:latest", "is_restart": false } '
{ "deployment": { "id": "fb5e5168-4281-4bec-94c5-0d1584e9e657" } }
Start a new deployment for your application using this endpoint.
API key authentication. Pass your API key as a Bearer token in the Authorization header.
Application ID to deploy
"fb5e5168-4281-4bec-94c5-0d1584e9e657"
Git branch to deploy
"main"
Docker image to deploy
"my-image:latest"
Whether this is a restart deployment
false
Default Response
Show child attributes
Was this page helpful?