PUT
/
applications
/
{id}
Update application basic details
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
build_path
string
Example:

"dist"

build_type
enum<string>
Available options:
dockerfile,
pack,
nixpacks
Example:

"dockerfile"

docker_file_path
string
Example:

"Dockerfile"

docker_context
string
Example:

"."

display_name
string
Example:

"My App"

auto_deploy
boolean
Example:

true

default_branch
string
Example:

"main"

Response

Application updated successfully

app
object
required