PUT
/
applications
/
{id}
curl --request PUT \
  --url https://api.sevalla.com/v2/applications/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "build_path": "dist",
  "build_type": "dockerfile",
  "docker_file_path": "Dockerfile",
  "docker_context": ".",
  "display_name": "My App",
  "auto_deploy": true,
  "default_branch": "main"
}'
{
  "app": {
    "id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
    "name": "my-app",
    "status": "deploymentInProgress",
    "updated_at": 1695300630620,
    "build_path": "dist",
    "build_type": "dockerfile",
    "docker_file_path": "Dockerfile",
    "docker_context": ".",
    "display_name": "My App",
    "auto_deploy": true,
    "default_branch": "main"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
Example:

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

Body

application/json

Response

200
application/json

Application updated successfully

The response is of type object.