Start a new deployment for your application using this endpoint.
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" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Deployment created successfully
The response is of type object.
object
Was this page helpful?