Skip to main content
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",
  "hibernation_enabled": true,
  "hibernate_after_seconds": 900
}'
{
  "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",
    "hibernation_enabled": true,
    "hibernate_after_seconds": 900
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required
Example:

Body

application/json
build_path
string
Example:
build_type
enum<string>
Available options:
dockerfile,
pack,
nixpacks
Example:
docker_file_path
string
Example:
docker_context
string
Example:
display_name
string
Example:
auto_deploy
boolean
Example:
default_branch
string
Example:
hibernation_enabled
boolean
Example:
hibernate_after_seconds
number
Example:

Response

app
object
required